User Profile
Collapse
-
Your WebBrowser1.Doc ument does not exist or hasn't been properly defined as an object, or one of the elements (email,password ,signin) don't exist... Or something along those lines -
Are you raising the event properly in class B? Did you try
Private WithEvents _b as B = New B() ??
Check http://devcity.net/PrintArticle.aspx?ArticleID=102Leave a comment:
-
When/how is your textbox's Enabled property becoming FALSE? You said you made it to accept a certain input format. Are you also putting Enabled=false in there? Or somewhere else? Do you have any code in EnabledChanged event? My guess is that either it enters some kind of infinite cycle of Enabled/Disabled, or it cannot retrieve the data properly (matching your input)...Leave a comment:
-
I don't understand, does the user see the question(s) and the answers somewhere and has to paste into a textbox whatever he thinks is the correct one? After pasting one answer, is he shown all the answers as correct/incorrect? If yes:
- basically you have to concatenate all of your possible answers into one string(use a stringbuilder for efficiency), with a space between each other.
- check for whatever the correct answer was...Leave a comment:
-
Not the loops are the problem. It's strange there is no error. Did you do the following? (i've made the text bold and inclined)
Code:Try build() 'Using a SQL statement INSERT INTO to include data to access table strSql = "INSERT INTO tblClassification(Code, Description) SELECT (SELECT isnull(MAX(Code),0) FROM tblClassification)+1, '" & Description & "'"
Leave a comment:
-
Did it give you any error? Try running that insert query directly on the database (NOT from code). Something like:
INSERT INTO tblClassificati on(Code, Description) SELECT (SELECT isnull(MAX(Code ),0) FROM tblClassificati on)+1, 'Mammals'
and see what happens. It might be a syntax problem like i said before. It depends on what kind of database you are using and if it connects to it properly, and if you have enough rights to...Leave a comment:
-
Don't worry about it. So you should have something like this(in vb.net):
Code:Dim description As String ' ... ' Here you determine the value of description ' by asking the user for it or something (see Inputbox function). ' So you should end up having description = "Mammals" and so on. ' ... strSql = "INSERT INTO yourTable(Code,Description) SELECT (SELECT isnull(MAX(Code),0)
Leave a comment:
-
That code computes how many times a certain response was given. A response can be between 1 and 10. So,
frequency(1) = frequency of response 1 = how many times 1 appears in responses.
frequency(7) = frequency of response 7 = how many times 7 appears in responses.
Now, since you have an array of responses, from 0 to responses.getup perbound(0), you cycle through this array and you increment the value of the corresponding...Leave a comment:
-
Code:strSql = "INSERT INTO tblClassification SELECT ((select MAX(Code)from tblClassification)+1 ,[ID]) VALUES ('" & ID & "')"
Code:INSERT INTO table(ID,table_string,table_number)
Leave a comment:
-
Basically you need to look up the System.Drawing. Graphics class on how to draw lines and points from code. After that simply create 2 perpendicular axes. Your function should look something like:
Code:Public Function y(byval x as double) as double Return (5*x) + Math.Cos(2*x) End Function
Leave a comment:
-
I believe you are talking about autonumbers for fields in a database, right? In vb.net simply use a command (and a dataReader if you need more stuff) on a query like
INSERT INTO yourTable SELECT ((select count(*) from yourTable) + 1), ...
But be careful, when you delete a row from that table, the COUNT(*) might return an already existing index and cause an error.
EDIT: you can also do (if this is what you wanted)...Leave a comment:
-
Read on the Backgroundworke r and you should be able to do it yourself. Some tips:
In the DoWork event run your procedure and call ReportProgress with a value related to how much of your data was loaded compared to the total amount (basically a percentage), and as well send any value you might also need(UserState parameter).
In the ProgressChanged event adjust the progressBar1.Va lue to the percentage(or a variation of it...Leave a comment:
-
How to send a structure from VB .NET to C++ with SendMessage?
Hello. I am trying to send a structure from VB .NET 2008 framework 3.5 to an application made in VC++ 6.0, using SendMessage and WM_COPYDATA. Here is the code:
Code:<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Ansi)> _ Public Structure MsgSTR Public code As String Public index1 As Integer Public index2 As Integer Public arr() As Integer
No activity results to display
Show More
Leave a comment: