Search:
Type: Posts; User: Optional
Search:
Search took 0.05 seconds.
-
Ignore my comment.
I seem to have mixed up the use of a background process with the use of the BackgroundWorker process.
Appologies for the missinterpetation.
-
Hi Royal,
Your exception is:
The specified Type must be a struct containing no references.
Parameter name: type
If the error is refering to the types of your variables declared in your...
-
To show a precistion number as a whole number use this:
Format(myPrecitionNumber, "#")
or
Format(myPrecitionNumber, "0")
This will also apply rounding, meaning 2.5 and higher is going...
-
In my original post I stated I can't get my head around the logic of things.
I don't think anyone could have simplified it any better than you did mendhak.
Thank you very much. You hit the nail...
-
I'm going to resolve this threat now as I'm going take it WCF is something I will have to look at.
Just one last question if you could find time to answer it please.
I will need the service to...
-
Thanks for that info.
I went off looking after your response and I'm currently looking into it here:
http://msdn.microsoft.com/en-us/library/ms733069.aspx
Looks like I'm going to have spend some...
-
I need a solution which does not depend on IIS, the main reason I went for a windows service and not a web service originally was because I read that there can be issues in IIS with idel times on web...
-
I totally agree with you on that, however, my WCF knowledge and experience is 0 :(
I will try my best to find enough resources on WCF to be able to accomplish the same but if I'm absolutly stuck...
-
Hi Guys,
I'm having a bit of difficulties getting my head around the logic of things on this one.
In it's most simple form, I have to write a website (intranet) which will allow a user to kick...
-
Your actual RecordSet.Filter limitations are:
In a LIKE clause, you can use a wildcard at the beginning and end of the pattern (for example, LastName Like '*mit*'), or only at the end of the pattern...
-
Convert all text to upper case when comparing.
For example:
If (TPX.ToUpper() = "TPX") Then
...
Edit
Sorry danasegarane, didn't see your reply :)
-
I have used Excel for now. Using Formulas was just that much easier to copy the data into the correct rows.
Due to Excel's simplicity in using Formulas I have complelty never thought about using it...
-
After I tried UNION and saw the results I remembered I tried that already.
The UNION statement places all the values into a single column in many rows.
Listing all Identifiers first, then all...
-
I give the union a shot.
I know the values belong together because I have the source of the original data and I spot checked a few hundred of those records to make sure they didn't get mixed up.
...
-
Just tested:
Shell "notepad.exe", vbHide
Works fine. notepad is not visible in the taskbar.
but I can see notepad.exe running in task manager.
This is working as expected.
I'm assuming...
-
oh man, I can't believe I never saw that. when I read command prompt I thought of a prompt to the user. I see now, what he ment was the Command window is showing.
nice one akhileshbc.
As usualy,...
-
Hi guys,
well, there is a first for everything. I'm actually for the first time at a loss to how to make a SQL to achieve what I want.
I have a table in a Database, let's name it myTable.
Due...
-
There is a very nice solution posted on another forum (sorry VBForums). Check out the posts by WSH2.
Flexgrid - Select one/multiple row(s)
Edit
At closer ionspection it looks similar to what...
-
VB6 simply uses Shell().
What you specify within the shell command is specific to the application you are executing, in your case WinRar. It seems you need to find a command switch for winRar not...
-
Opening a connection and using it to call a stored procedure or execute a piece of SQL and then close it does not take extra time.
What takes extra time is when your application has to deal with...
-
Are you asking about the shell command as used by VB6 or about how to use the winrar parameters when using winrar through command line ?
-
I'm not saying you have to replace your code. I'm only saying that up-front I try to avoid got and lost focus events if at all possible. Personally I only use the validate event to well,....process...
-
The Validate event is triggered before lostfocus and before the next control's getfocus.
Only if the validate event is not told to cancel the action will the lostfocus event and any subsequent...
-
If you run the application from within the VB6 code IDE.
When it freesez, press the left CTRL Key + Pause/Break key, this will force-stop the code and show you where it is at, then using F8 you can...
-
What do you mean by "Hang" ?
Does your application freeze ?
Unless I'm missinterpeting this, it does sound like your loop is running alright but is hogging all the resources.
Add the line...
-
nice one.
Main thing is it's fixed :)
Don't forget to mark the thread as resolved.
Instructions in signature :)
-
Hi,
I would need a little more details regarding your design.
What do you consider a subform ?
Is your main form (frmEvent) an MDIform and the subform (frmAssignments) a form with the...
-
To add to Milk's example and to highlight the more basic meaning of class and function in a general sense in programming:
Class
"A class is a construct that is used as a blueprint (or template)...
-
Just in case it's the SQL and not the RecordSet assignment.
As I don't know your data is, I can only speculate.
The id column your query references might be NULL or a field with white-spaces ?...
-
Each sub routine or function can have their own decleration of the same-named variable.
There is somethign annoying VB6 does though.
If I declare:
Dim myVariable as string in one sub and Dim...
-
If you simply want to know why your errors happen then here you go:
Error 1
Non-invocable member 'System.Data.SqlClient.SqlCommand.Parameters' cannot be used like a method.
This is caused by...
-
I thought post Post 6 included all that was there to know to solve the problem.
It explained how to add parameters, how to execute the statement and even had a link to the MSDN of SQL Command...
-
Going by your original post.
You need to separate the 2 types of validations you require.
Using you example of "xxx.ttt@hotmail.then"
Validate Format
You need to validate the format of the...
-
Some of your methods are not within class, module, interface or structure tags.
All of your methods must be between one of those tags.
"Statement is not valid in a namespace" is a very clear...
-
There should be no difference in the code. The code samples given to you were just that, samples.
If you don't know what ?? is or that a statement must end in a ; instead of a : and you need to...
-
At the top of the threat is a menu option named "Thread Tools", select it and lcik the option to Mark the thread as Resolved. that will resolve the Thread :)
Edit: sorry for repetative post,...
-
You find the more detailed answer in the comments of this link:
http://stackoverflow.com/questions/505515/c-thread-safety-with-get-set
I don't think there is a better way of explaining it than...
-
I updated my code to VB.NET.
Consider using objects (classes) instead of iterrating through controls generically as its more managed and less perceptible to errors.
Also, if you ever have a...
-
Calculating all those string on the fly is a bit tedious and can get confusing and result in unmanagable code at best ones you start adding more rows of controls to the form to multiply.
Here is...
-
I'm a bit at a loss now as it seems a sporadic occurrence.
I did some searching and it could be related to an issue with network conectivity.
You establish a connection to the database just...
|
Click Here to Expand Forum to Full Width
|