-
- Comparing Ascii Code String
by Logicapc
- 3 Replies
- Last post
by Logicapc
- Hi All,
First post on here hoping you guys can help as I'm pulling my hair out with this one.
What I trying to do seems simple in my head.
I have a project using a RFID board in which I'm trying to eventually get to the stage where I can program some information onto the card.
The thing is it's a little complicated for a learner like me to complete the Authentication of the car
-
- C# - Windows Forms
by Karen556803
- 3 Replies
- Last post
by santoshkandhukuri
- I would like to know who I alter a txt file that is in a directory of my computer, because I only create a new file that is have a igual name.
I need include the data in this file.
I need that you understant what I write, becau I am from Brasil.
/**********************************************************/
public string GeraLog( string msg, string local)
{
try
{
str
-
- Click event
by jeepgirl
- 6 Replies
- Last post
by mellie430
- Hi I need some help with my program....I'm having an issue getting the check box grand total to display a grand total....any help would be appreciated
here's the program:
Public Class VBLab2
Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click
' Clear Boxes
txtPackageA.Clear()
txtPackageB.Clear()
tx
-
- NEW to prgramming/VBE
by testorp
- 13 Replies
- Last post
by Dave299
- OK
I'm having a hard time trying to get a program together, I thought I was clever enough to cut and paste here and there and to get the thing done.
Well, I'm clever enough to see that I can do it, all the books and articles I've found aren't of much help, because I'm starting from scratch, don't care about the web and I have loads of string manipulations to do, basically I'm trying to b
-
- Move It
by Whoisit
- 10 Replies
- Last post
by Whoisit
- How do I make a button on my form to be always 10 pixels from the left side of the form and 10 up from the bottom, when each time the form loads it resizes to match a picture in a picture box
-
- runtime error after setting printing preferences
by jcsandot
- 3 Replies
- Last post
by jcsandot
- Hi
i'm developing an application that displays an image and let the user send it to a printer. I have 2 buttons, one for setting the page setup (things like paper size, orientation, etc) and the other that launches the print dialog.
when the user first changes some options in the page setup dialog and then clicks on the print button the application crashes in windows vista. In windows xp the
-
- Collision
by Forcecast
- 2 Replies
- Last post
by Forcecast
- Hi, I know this is becomming a cliche topic right now but I'm totaly new to collision dection.
I know there is XNA... but that is for C# and I use the Visual Basic Express Edtion. So I basicly want to know who to get started with this. Some methodes I know are boundery box checking and sphere checking, colour based checking and pixel based checking and probably more... But I don't really know h
-
- display row from access to visual basic
by Mihai-Sorin
- 1 Replies
- Last post
by Karl Davies-Barrett - MCT
- hi,i want to make program who connects to a access database and displays the result of a query on that database in a label in visual basic form
i started the program like this
Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim cnn As ADODB.Connection = New ADODB.Connection
Dim rs As ADO
-
- "error LNK2028: unresolved token", cannot find help resource
by Vengant
- 6 Replies
- Last post
by Vengant
- I hope someone is able to help me with this. I am trying to create a double linked list program with several navigation options, using managed code. I am recieving this error when compiling and I'm unsure why. I'll post some code,
Code Snippet
void addtToStart(student ^start)
{
printHeader();
student ^newstudent;
try
{
if (start== nullptr ) //empty
-
- Please make sure your program is correct
by Mark J.
- 4 Replies
- Last post
by Mark J.
- VB Express has now started crashing often, particularly when I rename of classes or fields and it often leaves my code in an inconsistent state. Currently, after attempting to change the project type from "Class Library" to "Windows Application" the IDE crashed again in the middle of the operation. When I restarted the IDE the compiler is now giving the error: 'MyForm' is a typ
-
- js06 nid help (spreadsheet gear)
by pinoyz
- 14 Replies
- Last post
by js06
- hi there... i need ur help in spreadsheet gear.... how can i get the data from the datagridview to spreadsheet gear
i have here a sample program that i made but still got an error (nothing happens)
dim con as new oledbconnection(constring)
dim sqlcom oledbcommand(sqlstatement)
dim adapt as new oledbadapter(sqlcom)
dim ds as dataset()
dim dt as datatable()
sqlcom.connection.op
-
- How to code Font Type, Style, size and alignment properties in VB 2005 Express
by Monte Cristo33
- 7 Replies
- Last post
by Monte Cristo33
- Dear friends,
I am converting from VB 5 to VB 2005 Express, and things are as not as straightforward as I expected.
I am doing a simple text editor program where the user can change the font Type, style, size and alignment in an input text box. However, none of the old code still work. what would be the VB 2005 equivalent of the following VB5 code: Private Sub cmdArial_Click() txtInput.F
-
- Embed SWF problems
by Arcanewulf
- 2 Replies
- Last post
by Karl Davies-Barrett - MCT
- Ok, I've finally gotten the "Shockwave ActiveX Control" to work, but I can't link it to the file. Does anyone know the property settings I need to fill to add the file to the project And can anyone explain why the whole form starts flashing inside of the designer when I click on it it will lock up and I have to click on "file" or something like that until it stops or it usually
-
- about array?
by pinoyz
- 5 Replies
- Last post
by ChrisMoje
- hi there i have a problem regarding array....here's the situition i'm supposing to count a number of area... so i used select command count to count... i want is to compute all the number of area and put the result in textbox...(each result has seperate textbox) txtbox1, txtbox2 and txtbox3... in my code below the dataset overwrite the result instead of to retaining and print
-
- Dataset.Acceptchanges query ?
by DKeeper
- 3 Replies
- Last post
by DKeeper
- I'm rewriting an old vb6 program I wrote to manage windows wallpapers, but I've hit a problem straight off due to my lack of knowledge on the new database stuff (old program was done using DAO). I've added a datagridview and an Add command button, which opens a file dialogue where I can point to a jpg etc, which should then be added to the database, in this case, just an access database, with a te
-
- incompatible types - from 'char [4]' to 'LPCWSTR'
by MarianL
- 12 Replies
- Last post
by chintanpatani
- Hi #include<windows.h> int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow) { MessageBox(NULL,"test","test",MB_OK); return 0; } a.c .\a.c(4) : warning C4133: 'function' : incompatible types - from 'char [4]' to 'LPCWSTR' .\a.c(4) : warning C4133: 'function' : incompatible types - from 'char [4]' to 'LPCWSTR' how to solve that p
-
- calender link to database
by MechEng85
- 14 Replies
- Last post
by Stanley007
- I'm trying to create a database of projects. when a project is entered i want the entered to link the database info for that project to the calender date so that when a user clicks on a calender day the projects for that day are shown in a message box. Any ideas
Thanks
-
- How do I do this with a class: ?
by Bryan01
- 14 Replies
- Last post
by jgalley
- I would like to create a class that will accept data and then use that data imediatly to put into a string or integer. What I want to do with this information is to create a dice rolling class. Send it the dice information (3d6; 3, 6 sided dice) and then give me the total rolled for all dice. Im not exactly how classes work but I would like it to work like this. DiceRoller.dice(3d6) = result = 13
-
- Reading serial Byte data at 115200 Baud
by Victory-sk
- 8 Replies
- Last post
by Carsten Kanstrup
- Dear all
Thank you for this possibility to ask you and apologize me if this question is not relevant ..
I'm new in VB 2005
I have small project to CODE application to log serial data from uPC with 32 Bit message / 4 Byte. Speed is 115200 Baud
for evaluation I did universal logger where I can choose type of data
ASCII
BYTE
BINARY
Program at 4800Baus with GPS mouse work we
-
- Installing Visual Basic 2005 Express
by RichardMGreen
- 2 Replies
- Last post
by RichardMGreen
- Hi all
I'm trying to install the above program, but I keep getting a message stating I have some/all of the following programs installed :-
Microsoft SQL Server 2005 Express Edition
Microsoft SQL Server 2005 Tools Express Edition
Microsoft SQL NAtive client
I've checked the Add/Remove programs for any of these and can't find them. I've also run the autoinstaller and simply get
-
- oledbcommand syntax help
by ckjaime
- 2 Replies
- Last post
by ckjaime
- Please try to go easy on me and explain this in simple terms, as I am only 2 days into learning visual basic and am very new to this. I am creating a program that connects to an Access database and retrieves information from a table. The code that I am using to select which Access table gets read is below.
My questions is whether it is possible to use a variable as the table name. For inst
-
- Putting items on a new line.
by cobradeth1
- 14 Replies
- Last post
by ReneeC
- I have hunted online and my vb books but kind find an answer to this simple question: Me.sendAmessage(sender, goingto, fullsubject.Text, main.Text +NEW LINE + closing.text) all i need is to make the closing next to show under the main.text. I've tried: Environment.Newline vbCRLF /n /nl /lf I know I've done it many times but can't find it in any of my codes. I know this is a quick an easy one can s
-
- DataAdapter.Update() problems
by Freelancer77
- 5 Replies
- Last post
by Bankers
- I am working with an application that selects one of numerous databases during runtime. This one fact is making everything else I do harder, since data-manipulating objects cannot be handled in the designer, but must be declared and assigned after the database is determined.
The specific problem I face now is updating the database after modifications have occured. Retreiving, binding, and d
-
- Zip like file format
by Amrykid
- 14 Replies
- Last post
by Amrykid
- hi all, i want to make a zip-like file format that the user has to download my app to extract it.
i need a code for making, extracting, and reading the file. This file format is .BZP
-
- How to create a hidden file?
by C&#35;Newbie01
- 5 Replies
- Last post
by C#Newbie01
- Hi, I am trying to use StreamWriter to create a file. This works fine, but I can't seem to get it to work if I specify that the file is hidden. I'm not sure what I'm doing wrong. Here is my code:
Code Snippet
using (FileStream fs = new FileStream(Environment.CurrentDirectory + @"\Files\File.txt", FileMode.Create, FileAttributes.Hidden)) { using (StreamWriter