Click here to Skip to main content
15,914,111 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: SQL Security for your VB apps Pin
Dave Kreskowiak15-Sep-07 11:26
mveDave Kreskowiak15-Sep-07 11:26 
GeneralRe: SQL Security for your VB apps Pin
Paul Conrad15-Sep-07 6:24
professionalPaul Conrad15-Sep-07 6:24 
QuestionRemoving items from listview .... problem Pin
RaveRare14-Sep-07 19:55
RaveRare14-Sep-07 19:55 
QuestionNeed help on my Thesis... Pin
Holy Orders14-Sep-07 17:56
Holy Orders14-Sep-07 17:56 
AnswerRe: Need help on my Thesis... Pin
Paul Conrad14-Sep-07 18:57
professionalPaul Conrad14-Sep-07 18:57 
GeneralRe: Need help on my Thesis... Pin
Holy Orders14-Sep-07 19:01
Holy Orders14-Sep-07 19:01 
AnswerRe: Need help on my Thesis... Pin
Paul Conrad14-Sep-07 19:11
professionalPaul Conrad14-Sep-07 19:11 
AnswerRe: Need help on my Thesis... Pin
Dave Kreskowiak15-Sep-07 2:53
mveDave Kreskowiak15-Sep-07 2:53 
You've got a ton of problems with this code. I'd rewrite it to simplify it, but you have to do it yourself. If anyone else rewrote the code and you turned it in, the coding style would suddenly change and you'd get put under a microscope for cheating.

Holy Orders wrote:
* When I try to add user information, I generate this error
Data type mismatch in criteria expression
Simply put, it's when I try to add values to the database for student
information like student number, last name, course, etc.


We can't answer this question because you've supplied no information on the structure of the database or the code that is used to add this to the database. From the error, you tried to do something like put a number into a field expecting a string of characters.


Holy Orders wrote:
* I see this error when I code this
Dim f3dg1 as List
Well, the f3dg1 is user defined, i just referred to it as mnemonics to form3
which has a datagrid. What the error in here is the keyword List, which VB "doesn't seem to recognize"


What is "List"?? From your code, "List" better be the name of a form you created in your project. It's also a very bad name to use because in .NET 2.0 (VS 2005), List is now a collection class.

Holy Orders wrote:
* Ok, here's the last. Here is the program segment for my datagrid.
I can't display column headers in my datagrid (gave me countless sleepless nights... duh) which is why my query (well, actually just a masterlist) don't work.


You do NOT have to create three seperate variables for TextBoxColumns. You would actually be better off putting in the code to setup the DGV in a seperate method. And your current variable names suck, badly. A CompSci student writing a thesis paper should already know the meaning of 'self documenting code' and how it applies to variable names.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Need help on my Thesis... Pin
Paul Conrad15-Sep-07 3:46
professionalPaul Conrad15-Sep-07 3:46 
GeneralRe: Need help on my Thesis... Pin
Dave Kreskowiak15-Sep-07 6:04
mveDave Kreskowiak15-Sep-07 6:04 
GeneralRe: Need help on my Thesis... Pin
Paul Conrad15-Sep-07 6:23
professionalPaul Conrad15-Sep-07 6:23 
Questionhow to upload the picture file into report file (.rpt) with VB6 and Crystal Report 9.2 Pin
mctramp16814-Sep-07 17:48
mctramp16814-Sep-07 17:48 
QuestionRecord Audio From Microphone Pin
Indra PR14-Sep-07 15:45
Indra PR14-Sep-07 15:45 
AnswerRe: Record Audio From Microphone Pin
JamesS[C1]25-Sep-07 3:49
JamesS[C1]25-Sep-07 3:49 
AnswerRe: Record Audio From Microphone Pin
Eddy Vluggen6-Nov-09 8:13
professionalEddy Vluggen6-Nov-09 8:13 
QuestionGet Computer Name Using VB6 Pin
Widgets14-Sep-07 15:05
Widgets14-Sep-07 15:05 
AnswerRe: Get Computer Name Using VB6 Pin
nitin314-Sep-07 19:46
nitin314-Sep-07 19:46 
AnswerRe: Get Computer Name Using VB6 Pin
Dave Kreskowiak15-Sep-07 2:34
mveDave Kreskowiak15-Sep-07 2:34 
QuestionThe meaning of the # in VB Pin
Andy20214-Sep-07 11:16
Andy20214-Sep-07 11:16 
AnswerRe: The meaning of the # in VB Pin
Dave Kreskowiak14-Sep-07 12:45
mveDave Kreskowiak14-Sep-07 12:45 
AnswerRe: The meaning of the # in VB Pin
Dave Doknjas14-Sep-07 13:46
Dave Doknjas14-Sep-07 13:46 
QuestionRounding Question [modified] Pin
Hags14-Sep-07 10:25
Hags14-Sep-07 10:25 
AnswerRe: Rounding Question Pin
Dave Kreskowiak14-Sep-07 12:41
mveDave Kreskowiak14-Sep-07 12:41 
Questionradio button vb.net 1.1 Pin
mshytech14-Sep-07 8:04
professionalmshytech14-Sep-07 8:04 
AnswerRe: radio button vb.net 1.1 Pin
Dave Kreskowiak14-Sep-07 9:16
mveDave Kreskowiak14-Sep-07 9:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.