-
- send file to remote computer
by suranga_d
- 1 Replies
- Last post
by nobugz
- I was tried to following code but it display following error
No connection could be made because the target machine actively refused it
i was started telnet service on remote machine but it didn't work why
IPEndPoint ipEndPoint = new IPEndPoint (IPADDRESS,PORT);
Socket client = new Socket ( AddressFamily .InterNetwork, SocketType .Stream, ProtocolType .Tcp);
c
-
- DLL implementation problem
by AbdiKadir
- 1 Replies
- Last post
by Mattias Sjogren
- Hello, I wrote a DLL with C# (unsafe class) and I am writing a User Interface with C# but DLL Import is being unhandled.
Exception :
"Unable to find an Entry Point Named ' ResetDevice ' DLL in ' voltran.dll '"
#region Voltran UsbCan Library Implemantation
unsafe public class UsbCan
{
[ DllImport ( "voltran.dll" )]
public st
-
- How do I make Visual Basic single threaded ?
by SaraJ568864
- 2 Replies
- Last post
by nobugz
- How do I make Visual Basic single threaded
-
- A 2 form problem
by jbm417
- 4 Replies
- Last post
by jbm417
- Hi,
I have an app with 2 forms. F1 is always opened first & the user can change to F2, update a database & then
return to F1.
The problem is, F1, which shows some db info, is not refreshed with the update done in F2.
I could require the user to press a refresh button, but I don't like that solution. The app should refresh itself.
I have a method in F1 that wi
-
- Winsock Data Error
by BageDevimo
- 7 Replies
- Last post
by nobugz
- Hey Im writing a program to learn to practice Winsock with. At the moment my program compiles fine. But, for some odd reason, when I check if a recieved packet contains a string, it returns negative, even though I know it contains that string!!!
Code Snippet
if(recvbuf == "login") { strcpy(recvbuf, "Username "); }
-
- How to Make an explorer window to view a folder the user selects?
by Pitchec0934
- 2 Replies
- Last post
by Pitchec0934
- How can I make a explorer window in my program to view the selected folder by the user
And with that, what code can I use to change what folder is viewed in that explorer window
Thanks
(Im New To VS)
-
- Listbox item removal keeps crashing?!?
by Heinz09
- 4 Replies
- Last post
by Heinz09
- A question for everyone that is messing with me
I have a list of descriptions, as a user clicks on an item it should remove it from the list, but for some reason it just doesn't work the way it is suppose to work. I have tried various different ways, came to this, but still to no avail.
This is the code I have if someone clicks on an item in the list...
private void listDescriptions
-
- Updating addressbar when switching tabs, code not working, help!
by mcgin1591
- 14 Replies
- Last post
by mcgin1591
- I want my addressbar to update whenever i switch tabs, here is my code below....
AddHandler Me .GotFocus, AddressOf TabPage_GotFocus
Private Sub TabPage_GotFocus( ByVal sender As Object , ByVal e As System.EventArgs)
ofrm.wb = CType ( CType (sender, TabPage).Controls(0), Windows.Forms.WebBrowser)
Ibrowser.txturl.Text = ofrm.wb.Url.AbsoluteUri.ToString
If o
-
- Multi-Core Processor Support
by Bill Welbourn
- 3 Replies
- Last post
by Bill Welbourn
- Hi,
I am new to this forum, and have been programming in Visual C++ for a couple of years now. In particular, I program simulation models, which entail weeks (even months at times) of 24/7 processing. I am currently running an Intel P4 3.4GHZ(HT), 1GB 533 DDR2 Ram on Windows XP Home. My question is, will a single .exe thread, utilize all cores of a multi-core processor (such as the Intel Dual C
-
- SetCursorPos not working as intended.
by de2
- 5 Replies
- Last post
by Bite Qiu - MSFT
- Hey Everyone. I want to use SetCursorPos to move the mouse back to the center of the screen if it hits any screen edges. I want to do this to guarantee mouse relative movements can always be measured. I have the following code to accomplish this: //variables that represents window's pointer location POINT winmousepos ; BOOL rc ; ClipCursor ( NULL ) ; //get window's mouse cursor position rc =
-
- Code for Go To Function
by mrholtsr
- 10 Replies
- Last post
by mrholtsr
- I have a database ffor my library collection. I would like to be have a search whereby I can type in a book title or author and go to that specife book or author. Can someone help me with the code Thanks, Ray
-
- Mouse Click VB 2005 Express
by bmpol
- 5 Replies
- Last post
by Feng Chen - MSFT
- Hello All.
I am new to Vb 2005 Express. I am writing a program that connects to a web page, enters some login credentials and logs into the web page. My program works fine up to this point.
My cursor moves to some x,y cordinates. This also works fine. I need my program to generate the mouse click at the x,y cordinate.
I have no idea how to do it.
Any help would be appre
-
- Name Box
by Katajoe
- 4 Replies
- Last post
by js06
- Where is the name box on the Visual Basic 2005 Express Edition
-
- Automation of Excel
by G_Mitch
- 14 Replies
- Last post
by spotty
- I'm trying to populate and Excel sheet with some data from VB and found some code which works but I'd like to use an Excel workbook that's already open.
Can I get a list of open workbooks then choose which one to use.
This is the code I have which creates a new instance of Excel.
Dim oExcel As Object Dim oBook As Object Dim oSheet As Object Set oExcel = CreateObject(&q
-
- problem calculate balance
by ang3la
- 9 Replies
- Last post
by js06
- i doing statement vb system itemno debit credit balance ---------------------------------------------------------------------------------- 1 100.00 100.00 2 50.00 50.00 3 100.00 150.00 i wanna calculate the balance like the above what should i do or what should i put in the expression i
-
- Two Questions - Webbrowser and animation
by Alastair Q
- 4 Replies
- Last post
by ahmedilyas
- Hi there, I have two questions you might know the answers to ...
Is it possible for VB to click on current objects in a webbrowser (On the webpage) and if it is, can you please give me a snippet or webpage reference
Is it possible to get moving animation on your screen If so please state how
Thanks in advance, AliQ
EDIT - EXTRA QUESTION
Is it possible to move the mouse through
-
- Windows Service Displaying Video
by Leif Greenman
- 2 Replies
- Last post
by Leif Greenman
- Hello all, I have a quick question. I'm new to Visual Basic (Prefering C++ myself...) and am starting out I'm afraid with a project that's way over my head. I need to program a windows service that will run in its own windows session (I need it running even when no one is logged in) that will display a video upon command (at a specific time mainly) to distribute data to a wide audience most of whi
-
- Calculation not working
by jwc1972
- 3 Replies
- Last post
by Dave299
- HI
Very very new to vb express i have a database which you input cost and del details to give you a invoice total
the vat field seem to not work for some reason the line of code is
If IsNumeric(CostTextBox.Text) And IsNumeric(Del_ChargeTextBox.Text) And IsNumeric(QtrTextBox.Text) Then
TotalTextBox.Text = CInt (CostTextBox.Text) * CInt (QtrTextBox.Text) + CInt (Del_ChargeText
-
- VB Express was unable to connect to any DATABASE server
by Maxi_Alert
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Hy. someone can tell me why vb express was nable to connect to any db server on a network.
The db server (SQL 2000 Server or SQL Express) is accessible from vb6 programs, but vb express server can't do that.
Help me!
-
- Extremly Easy Question
by Fase
- 3 Replies
- Last post
by BOB4NK
- New to VC++. How do I set a string or integer to be displayed on a control like int a = 1; this->Text = a; or char a[5] ("1234"); this->Text = a; Can't get it to work, thanks.
-
- how to
by esatpllana1
- 12 Replies
- Last post
by esatpllana1
- I'm Esat Pllana and I'm 15 years old I started to use VB6 before 3 years, only 1 year I used VB6 because I started to use Visual Studio.NET 2002 and I'm using vb.net 2002.
I crete one application but I need for your help
this application Make Screenshots every 5 seconds and save images in Startup Directory of Aplication in Images folder
Image1, Image2, Image3...
but when i close my app
-
- 2 Q's: Test Cetificate expiry date and Assembly Information: GUID
by Roachy
- 9 Replies
- Last post
by ReneeC
- Q1.
I've been creating test certificates for my app without really understanding much about them, only that I must have one otherwise I can't publish.
I've noticed that they are only valid for 12 months
If I am giving/selling an app. to others what happens after the certificate expires
Is there a way of not including a certificate
Q2.
I have 2 separate projects but they
-
- How do i Save The Address of Image File Into database and Readback them into Visual Basic's ImageBox Control?
by Manoj Sahu
- 2 Replies
- Last post
by ReneeC
- How do i Save The Address of Image File Into database and Readback them into Visual Basic's ImageBox Control
-
- How to add a column to an existing database table
by furjaw
- 1 Replies
- Last post
by Feng Chen - MSFT
- I have a user running my application that uses an SQL DataBase Table. He has requested that I add a column called "CaseNbr" to the table.
"CaseNbr" is not currently in the DataBase. I have to add the column to the SQL table programmatically because he has his own database with a lot of data in it and he is in another location. There is only one program that accesses the tabl
-
- How to disable a tab page in a tab control
by TDCi
- 4 Replies
- Last post
by Martin Cowen
- I believe that is not possible to disable a TabPage within a TabControl, anybody else have any experience of this.
I cannot believe microsoft missed such an important feature in this control!
Anybody go any workarounds