|
I created a VB.net applicaion
dropped a MSWINSCK control of the form.
set target CPU to x86
dot net 2.0
build project
copy exe and axinterop and interop files for mxwinsock to a client and try and run the applicaiton
the application crashes when opened...
Started by kurtsimons on
, 25 posts
by 7 people.
Answer Snippets (Read the full thread at vbforums):
Why don't you use the inbuilt Socket class in .NET?
It's much better to use with .NET since MSWINSCK... .
First off, what error message are you getting?
Second, why are you using mswinsock in the first place? .NET has its own comprehensive set of socket classes .
|
|
Firstly, thank you to Si; I made progress with the Long Path problem but I can't see it on here to set it RESOLVED.
I am in deeper water now in trying to Create a new workbook. This coding has been working fine for months but is now giving error "Type...
Started by maurice_whittaker on
, 15 posts
by 5 people.
Answer Snippets (Read the full thread at com):
Range ( "A3" ) = "Hello" ' This just avoids a possible error by saving an empty... .
Worksheets ( 1 ).
Add wb.
Workbooks.
You should avoid using the activeworkbook, instead set the new book to a workbook object like
vb Code: ' Create New Workbook set wb = .
|
|
Ok. I have got the code to draw the line at the angle. the issue is that I need 0 degrees to be the right hand side and not the top. Any help here would be great.
Code: Private Sub CheckBox1_CheckedstateChanged(ByVal sender As Object, ByVal e As System...
Started by danielpalfrey on
, 32 posts
by 4 people.
Answer Snippets (Read the full thread at vbforums):
It looks like you are using angle in degrees and converting to radians .
|
Ask your Facebook Friends
|
Okay it's 5:10 AM and I've been up all night trying to figure out this simple problem with Visual Basic in Visual Studio 2010 in a new .ASP website project.
I'm in Visual Basic II class and this has nothing to do with any of my assignments, I'm just messing...
Started by RSims on
, 19 posts
by 5 people.
Answer Snippets (Read the full thread at com):
Click intRandomNumber += 1 End Sub Public Sub....
EventArgs ) Handles Button1.
Why are you using the Subs as PROTECTED?
Such code worlks for me
vb Code: Public intRandomNumber As Integer Public Sub Button1_Click ( ByVal sender As Object, ByVal e As System .
|
|
Hi.
I have the following code snippet:
HTML Code: SaveRTFfile_Prep_echo.Text = Config_str SaveRTFfile_Prep_echo.SaveFile (ConfigFileName_str)
If the file does not exist, everything works fine. But if the file already exists, I get error 75 (The specified...
Started by treddie on
, 15 posts
by 5 people.
Answer Snippets (Read the full thread at com):
Have you previously opened the file at any other point in your code?
or has any other program opened that file? You may get the Error 75 for reasons including;
The existing file is read only
The folder you are trying to save to is read-only
The current... .
|
|
Test, can't post?
Started by hwtsai on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at vbforums):
To VBForums
I have moved this thread to the "Forum Test Area" (thanks for letting us know weirddemon.
|
|
I just wanted to post a happy story that demonstrates that searching the forums does in fact work:
http://www.vbforums.com/showpost.php...8&postcount=22
-tg
Started by techgnome on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at com):
Which returns a lot of post from here Most of which are from years .
With vbForums search) I use google.
|
|
In a conversation with a couple of developers in terms of adding some internet applications to a framework we diverted into a discussion of what applications are no longer of paramount importance going ahead.
- Blogs, seems WordPress and the free online...
Started by KiwiDexter on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at com):
The web isn't fast enough....
This planet seems to see a full revolution daily, but that's just the high level view .
Frankly, I expect to see a revolution.
So...you're asking us about our 2020 vision? Mine was better, but is beginning to decline with age .
|
|
Does anyone has an idea how to get all days in a string like:
2005: 20/06-24/06;08/08-12/08;16/08
That string would means that in 2005 there were the days between 20/06/2005 and 24-06-2005, between 08/08/2005 and 12/08/2005, and finally day 16/08/2005...
Started by TDQWERTY on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at com):
I mean exactly....
What do you mean "get all days"? count them, display them, retrieve data between the range? Is this for a report? If so, what type of report, what programming language? Please provide a complete description of what your trying to accomplish .
|
|
Ive spent AGES trying to get my application to connect to a SQL database finaly it works but now i have no idea to view specific records or add records ANY help would be brilliant !
here is the code i have already
Dim connetionString As String
Dim cnn...
Started by Ti yy on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at com):
Google .net SQL server examples
here is a good starting point, albeit in C#
http://www.codeproject.com/Articles/...rver-through-C here's how to select everything in a table + view it in a datagridview:
vb Code: Dim connetionString As String Dim cnn As... .
|