Search:
Type: Posts; User: circuits2
Search:
Search took 0.04 seconds.
-
I ran into this a year or two ago. Out of curiosity, are you using the ReportViewer control? The solution that worked for me was to manually remove the entry from the Resources.resx file using a text...
-
Did you ever get that working the way you wanted? It's hard to tell what's going on without seeing the way you modified the code.
-
The WinForms.dll is installed as part of the ReportViewer runtime, not the ReportBuilder. The install path may be slightly different on your system but a simple search will help you find it.
-
Just noticed something else that is weird. The default encoding is UTF-8. I have tried using Encoding.Default, which produced the results previously stated. However, if I use Encoding.UTF8, it...
-
-
Yes, I seem to be stuck in the notepad black hole of encoding problems. :wave:
What I don't understand, is the default encoding is UTF-8, which notepad should read just fine, but doesn't want to...
-
Strangely enough, if I open in WordPad it looks normal.........?
-
Sorry, opening in Notepad.
-
The file I am creating will be read into another system, and the system specs require a flat ASCII file (no unprintable characters)
-
The file doesn't exist, so StreamWriter creates it at runtime.
-
No, it's definitely English. I tried going down that path too, so I have tested using Encoding.Default and Encoding.ASCII but still got the same results. I don't see how this can happen when using...
-
If it helps at all, I am actually writing fields, so it is actually a little closer to this:
Dim string1 As String = "123"
Dim string2 As String = "789"
Dim WriteThisInfo As String =...
-
I very rarely write to text files, but have encountered a situation where I cannot avoid it. I am using a StreamWriter to write lines of text to a text file. Here is a sample of what I have:
Dim...
-
Random is random. Period. Seriously, what point are you trying to make?
-
In that case the term random does not apply at all.
-
For top to bottom and reverse you can simply sort the items in ascending or descending order before starting your timer. For selected item don't activate your timer and just call SendCurrentItem() in...
-
hod = dr("HPROP_NO")
lat = dr("lat")
lon = dr("lon")
date1 = dr("hoteldate")
The first thing I see is you are not properly accessing the items within the DataRow. It should look like this:
...
-
You should create your own thread instead of hijacking someone else's.
That said, what kind of control is txtdecide? If it is a textbox or label then you should be using txtdecide.text = "You must...
-
What I do on my development computer is create a network share and then map the drive using a letter that can be mapped on clients. Then I set the publish and install path using the local drive...
-
Are the client computers installing directly from a network share, or have they mapped a drive? Your situation would make sense if they have not mapped a drive with the same letter. Since it is "D"...
-
Nevermind, I finally figured it out. I forgot to turn off the "produce annoying results" property.
-
This is driving me crazy:
I'm trying to insert records into a SQL 2012 Express database by specifying the columns of data. Two of the columns are bits and both receive the same value. However, at...
-
Start by proofreading:
format = "dd/M/yyyy"
If format < Then
Only one digit for Month? And if format is less than what? Also, format is a string, how can it be less than anything?
-
I'm guessing you haven't paid attention much in class and are now hoping someone will give you the code so you don't have to figure it out on your own?
Make an honest effort to complete the task...
-
I agree. I'm curious how it could do this without throwing an exception. If there is only one instance of the form, the default instance, then the backgroundworker would either have to create a new...
-
I ran into the issue with default instances a few days ago, which is how I spotted the problem. I was using a backgroundworker to update properties in the default instance of a form. The...
-
See if this helps you at all. I made some changes. I created a new project with one form (Form1), one datagridview (DataGridView1), and dropped a backgroundworker (BackgroundWorker1) onto the form...
-
First Google Search:
http://www.dotnetheaven.com/article/listview-control-with-multiple-column-in-vb.net
-
A lot of us came from the same roots but have already "evolved" lol. Searching the forum is a great place to start.
-
Everything that is called by DoWork needs to be self contained without relying on resources that are provided by the UI thread. Variables that are declared at the top of your Form class are in the UI...
-
You could move everything except the event code to a module and it would work fine.
-
Ok, still, all of those variables are declared in the UI thread. That means that any routine that is called by DoWork cannot use them. Also, you need to remove the MsgBox calls from DoWork....
-
So your password screen is the MDI Container? It should actually be a child form as well....
-
Variables that are declared in the ProgressChanged event are declared in the UI thread. You need to declare it in the DoWork event as well, otherwise the data is never fully passed.
Edit: Sorry,...
-
It would be best to start by searching the forum for similar questions about converting from VB6 to VB.NET. This is a horse that has been beat to death already. You have a long road ahead of you if...
-
Isn't "D" a string array? If so, then just add the array without trying to specify the elements:
Me.MainGrid.Rows.Add(D)
Edit: Just now noticed you initialized with 20 elements. Are they...
-
I think you need to look into Modal and Non-Modal forms. I believe you are trying to duplicate the function of a Modal form.
Edit: Can you give us a little more information about what exactly...
-
Setting the MDI Container property on a form adds an MDI Client control to it. This is just another control that is set with a dock style of Fill. To re-iterate, why on Earth would you want to do...
-
Glad you got it worked out. In the future, placing this at the top of your code will help you find the problems:
OPTION STRICT ON
OPTION EXPLICIT ON
-
Check out the AcceptButton property on your form. It sets which button is automatically pressed when the user hits Enter.
|
Click Here to Expand Forum to Full Width
|