Search:
Type: Posts; User: Shuja Ali
Search:
Search took 0.06 seconds.
-
In .NET you have something called as settings. You can either use these or an application configuration file would be good too. If you are not satisfied with either of the two, you can create you own...
-
.NET 3.5 is an incremental build on 2.0 and 3.0 which means if you install 3.5 you automatically get 2.0 and 3.0 features installed. So to answer your question, yes you only need 3.5 frmaework and it...
-
When you switch to design view in the IDE, there is a properties window in which you have lightning icon. Click that icon and it will open all the events of the form which you can handle. You will...
-
Yes it is possible. In case you are using SQL Server, you could do something like this
Select FIELD1, FIELD2, FIELD3, (Case When Field4 = "This" Then 1 Else 0 End) As EXTRACOLUMN From Table1This...
-
Well yes. The only condition is that you will have to write code to do that. :)
Depending on your logic, you can split the lines into an array and then pick up which ever line you want.
-
Instead of getting the password and comparing it I would rather do it like this
Dim strSQL
strSQL = "Select 1 From Table1 Where UserName = '" & strUser & "' And Password = '" & strPass & "'"
...
-
I am sure that this.dbConn is being used somewhere else in your code and the datareader that you were using prior to gettings in this function has not been closed. Look at what datareaders are open...
-
Indexed views should be created carefully. And remember when you create an Indexed view, the underlying tables cannot be changed (altered in anyway) unless the dependency of the view is removed.
-
GetForegroundWindow is the simplest of all APIs. It gets the handle of the window that you pass to the GetWindowText to get the title. Something like this
Option Explicit
Private Declare Function...
-
Isn't that a homework assignment?
-
If isNumeric(TextBox1.Text) Then
'Text in textbox is numeric
Else
'Text in textbox is not numeric
End If
Or if you want to use TryParse method, look at this.
MSDN has got all the...
-
Have you tried Integer.TryParse() method? Take a look at
http://www.vbforums.com/showthread.php?t=394507
-
DTPicker has two properties, MaxDate and MinDate. You can set these properties to whatever values you like.
-
Create a property in your user control and you can set this property from the form. I am assuming that the User Control is present on the Form1.
-
EnumProcesses API. Search here you will get tons of samples.
-
Where did that 1% doubt come from??
-
This statement must have a form name too. It should be something like FormName.Show vbModal. Look out for FormName and see if you have a Form with the same name in your project. Open that Form, and...
-
Isn't it already in a DLL? This is what JM mentioned in his post.
-
Textbox1.Text = "blabla" & Environment.NetLine & " second line"
-
Picture Box has MoveMouve event. You should be able to use that event to change the picture inside the picture box.
-
No, Str() function just returns the string and you are checking numbers.
-
How about putting filenames into separate table itself. This table will contain the reference to the parent table and for each record in parent table you can have multiple records in the child table,...
-
The error says that you are using a Third Party control for which you do not have a license. I am sure that it would be telling you which control on which form is having this license issue.
-
Instead of using Asc(txtScore.Text) use Val(txtScore.Text). Asc() function returns the Ascii value of the character and that would always be less than 60 for numbers.
-
What does the listbox contain. You can always save the values in a table or maybe in the same field as comma separated values. But I would prefer saving each value in a different row.
-
You could also check DatePart function and even use something like this
Select CAST(FLOOR( CAST( GETDATE() AS FLOAT ) ) AS DATETIME )
-
You have probably changed the MousePointer. Look for Screen.MousePointer in your code and check what you are doing with it.
-
What database are you using. I don't think case sensitivity is provided by default in any database. I guess you are missing something.
-
Are you doing validation on the server side? Without looking at the code it will be difficult to tell you what is wrong in the code.
In the mean time, I would suggest using Custom Validator.
...
-
It still is Right Click. When you right Click on a Control/Picture you will get two options of Bring to Front and Send to back.
-
Ideally a DataGridview is associated with a DataSet. And there is a very easy and nice way to export DataSet to excel without using COM.
Here is a link...
-
This usually happens when you have Global Connection object which is opened the moment application starts. You keep the connection open for the life time of application and it sometimes gets lost...
-
My guess would it is working fast on that machine where SQL Server is also installed. So it doesn't have to do round trip to the server over a network.
-
Use an ArrayList. You don't have to specify the number of elements it is going to hold. Just keep on adding the elements.
-
frmChangePassword needs to know about the instance of frmLogin to change any thing on that Form. So before showing the form, make sure you pass the instance of frmLogin to frmChangePassword. You can...
-
IF I was going to do this kind of work, I would write a stored procedure to this rather than doing it on the Client-Side.
The main reason why it is slow is because you are accessing 100000 records...
-
OPen the Macro Editor window (VBA). Double click on this Workbook. Select the Workbook_Open event and write the code to show the form. This event fires every time someone opens the excel file.
-
-
Publish/Deploy a website means putting your website on a server from which everyone else (intended users) will be able to access it.
Did you take a look at MSDN on How to Publish a website using...
-
First of all, this is not the right way of doing this. You should rather take a look at Ajax. Remember have the page postback for each keypress will be very annoying to the user.
Also without...
|
Click Here to Expand Forum to Full Width
|