-
- Converting a winsock program to use tcplistener instead
by theboytony
- 0 Replies
- Last post
by theboytony
- Hi I have a program that I'm developing that uses winsock to recieve a string from an external device but I'm having trouble getting it to work with VBEE but it works in VB6, so I think I should try using TcpListener but I'm having trouble figuring out how to implement it. the code i have so far is
Public Class DvtPortNumber
Dim connected As Boolean = False
Private Sub
-
- Formating and Printing data from textBox(es) ??
by MLyons10
- 14 Replies
- Last post
by jrboddie
- I have an application that does not make use of a database. I need to be able to format text entered into textBox(es) and be able to then print out a report. I have spent an incredible amount of time trying to reasearch this, but all references are for generating reports where databases would be involved. I cannot use a database in this case. I am open to any ideas anyone might have. Here are a co
-
- is it possible???
by jaanu2121
- 1 Replies
- Last post
by Glenn Wilson
- hi all, I have recently downloaded the iso images of visual studio 2005 express edition. My question is , is it possible to combine all installers (visual c++, visual basic etc) into a single installer , which give option to install individual package thanks.
-
- Why doesn't my textbox work ?
by Kapalic
- 3 Replies
- Last post
by Kapalic
- I've used the following code in the TextChanged event of a textbox, which I except to take only letters and control keys as an input, but it not taking any input at all!
Here is my code:
If Not Char.IsLetter(e.KeyChar) Or Not Char.IsControl(e.KeyChar) Then e.Handled = True End If
Regards!
-
- Right Click Copy Event/Ctrl-C event?
by Louis Cypher
- 3 Replies
- Last post
by Louis Cypher
- Hi guys, I'm new to programming. It's been going well so far. I was just wondering if there is an event handler for the right-click-copy/CTRL-C action. What I am trying to do is copy info to the clipboard, strip out what I don't need and be left with the good data. I can do all that but I'm currently using a button1_click event. I would like it to run when I just right-click-copy or CTRL-C. Any he
-
- VB 2005 Express asks always for registration
by Junner2003
- 7 Replies
- Last post
by Junner2003
- I am not sure what went wrong but VB 2005 Express Edition does not stop popping up on me via NotifyIcon Balloon Message, telling me that I should click there to register. I repeated this steps already several times and got even the THANK YOU email but when ever I open the program again I get the same ...
I have no idea what to do about it! Any suggestions
-
- copy windows forms error
by Bra49er
- 9 Replies
- Last post
by Dave299
- I want to make 16 of the same page with many controls on it. whenever i try to copy the first form and paste it into my application it gives me errors that there are the same names or signatures or something like that. even if i make a new form and just copy and paste the controls onto it it does the same thing. please tell me there is an easier way to get the same form without having to make 16 s
-
- How to find if a Field is of type Event Type
by Chips_in
- 1 Replies
- Last post
by nobugz
- I am trying to get all the fields via GetFields function; but it also includes the events; which I actually donot want; is there a way to get event omiitted directly and get only the fields collection or else if later i can omit these fields with some specific checks.
Thanks in advance
Chips
-
- Publishing to install on offline computer
by brad0999
- 3 Replies
- Last post
by Brendan Grant
- I need to install my program on a computer that doesn't have the internet. When I went to publish it I changed the Install Mode to "The application is available offline as well" but when I went to install it, it tried to connect to the internet to install .NET Framework 2.0. So I checked the prerequisites and .NET Framework 2.0 was checked. I unchecked it but then when I went to install
-
- Rotating an image
by m.s.l.f (Mauro Fra
- 2 Replies
- Last post
by m.s.l.f (Mauro França)
- Fellows:
hi,
Consider a small image inside a picture box. ( not greater than 40x40 pixels)
How can I rotate this image and load it again in the same picbox
The code I need is just for the rotating, the simplest code as possible to save runtime.
Like this:
Code Snippet
button1_click(System::Object ^ sender, System::EventArgs^ e)
{
rotate 90 degrees
-
- Unable to decompress with GZipStream
by Progalex
- 8 Replies
- Last post
by Byapti
- Hi everybody.
I'm trying to modify the GZip compression code sample provided in the MSDN Express help for Visual Basic 2005, creating two methods. The first one compresses a file to a new compressed one, and the second should decompress the given filename to a new uncompressed one
I'm using the GZip compression,provided in the System.IO.Compression namespace.
I'm able to compress files in
-
- Background service not doing its job...
by NicholasMag
- 1 Replies
- Last post
by Andreas Johansson
- Ok, well this is a patcher i am currently using and it unzips what is in the .zip archive just downloaded. But i run into the problem of it not unzipping. It used to unzip it but would freeze the program, so i said a background worker would be best.
I Couldnt figure out any other way to call this up so here is what calls the background worker:
// Client download has successfully downloaded a
-
- Unable to Update db in Visual Web Express
by LabMan
- 6 Replies
- Last post
by LabMan
- When using Visual Web Express 2005 I am able to insert/create new entries in the database but when I edit the update command dose not change the data and there is know apparent error.
I have seen similar issues with Visual Basic Express 2005 but the solutions there do not seem to apply to Visual Web Express. Can any one shed some light on this
-
- Help problem
by GST1
- 2 Replies
- Last post
by GST1
- I asked for help "F1" and type "data binding" under index, the page appeared. Half way down the page I clicked the "Data Binding and Windows Forms" link and the following form appeared " Information Not Found " , "You have chosen to use local Help only for Search and F1 results, and the topic could not be found in local Help" and it instructs me to
-
- How to get the file's name
by Eniak19
- 3 Replies
- Last post
by Jonathan Caves - MSFT
- i want to get the file's name form a CString
usually,i use the
CString ss("C:\dfda\aaa.txt"); int nPos = ss.ReverseFind ('\\'); CString sPath; sPath = ss.Right (nPos); but it is not i want,it some times lost some characters
-
- licence question
by xplosiv_1
- 4 Replies
- Last post
by HanneSThEGreaT
- Hi,
Hopefully somebody knows the answer to the following question; Can i use the free ¡®Visual (C++/VB/C#) express¡¯ editions for making software for a company i am working for. Or do i need to buy a licence for this purpose if so which one
Thanks all,
Andy
-
- The name 'PasswordLabel' does not exist in the current context
by kaspencer
- 4 Replies
- Last post
by kaspencer
- I have an ASP.NET web application with a FormView on the aspx page as follows:
< asp : FormView ID ="webuser" runat ="server" DataKeyNames ="username,password" DataSourceID ="PS_WebUser"
Visible ="False" Width ="164px">
< ItemTemplate >
< asp : Label ID ="UsernameLabel" runat
-
- Why To Not Use Threading.Sleep in Your Application
by ReneeC
- 14 Replies
- Last post
by Andreas Johansson
- First of all, I hope that everyone who is interested joins in this conversation especially SJ, Carsten, Spotty, Andreas and Nobugz.
Experienced developers here often see new developers experiencing difficulty after calling Threading.Sleep and more experienced developers take issue with its use but rarely is there ever a comprehensive explanation for that. I thought I¡¯d start a thread on this wi
-
- Visual Studio 6.0 Pro upgrade
by Reinaldo Trad
- 1 Replies
- Last post
by Carl Daniel
- Hi, I've download the Visual Basic 2005 express ed., in order to check if it can run visual studio 6.0 projects without bugs. Bti the upgrade wizard does not even recognize a .vbp file as a visual basic project. The only option available is to upgrade to a .exe version, and the upgrade process fails. How I can get confident info about this Thanks
-
- Convert Date.Now to 24 hour format
by nbrege
- 2 Replies
- Last post
by nbrege
- Using Date.Now gives me a string such as "4/19/2007 2:37:25 PM", but I need "4/19/2007 14:37:25". How can I "tell" the Date.Now function that I want the time to be in 24 hr format instead of 12 hr Thanks...
-
- Saving File to Hard Disk
by Nefer-Ra
- 2 Replies
- Last post
by ahmedilyas
- What are the steps necesary to save a file to a hard disk And how can I put the contents of something into a file Like an ArrayList, formated as I want etc.
-
- compare files
by jin katama
- 6 Replies
- Last post
by jin katama
- heelo friends
i have written the coding to compare the two files pls test does it is correct or not
the coding should test the filename,filesize,data inside the file
if it worng pls correct it
Code Block
Private Function CompareFiles( ByVal filePathOne As String , ByVal filePathTwo As String ) As Boolean
Dim fileOneByte As Integer
-
- Can I pull part of the subject of an e-mail from a textbox?
by MLyons10
- 4 Replies
- Last post
by MLyons10
- I have the program sending a mail message to me with information when a user clicks "Submit", but I would like to change the text in the subject field to be partially predefined and partially from what the user entered in one of the textboxes. Here is the code I have presently: theMailMessage.Subject = "Subject Example"; I would like it to read: Subject Example "textbox1&q
-
- Webbrowser: Implementing an Edit Menu with Cut Copy Paste Select All
by Journeyman
- 4 Replies
- Last post
by jrboddie
- Hi,
I'm currently working through the mspress book; "Build a program now! Visual C#", by Patrice Pelland.
I've created the webbrowser, but I'm having problems implementing an Edit Menu containing the usual Cut, Copy, Paste, and Select All items. This additional functionality is not covered by the book.
These operations are available from the right-click Context Menu,
-
- Check box/Group Box
by N Cheung
- 3 Replies
- Last post
by N Cheung
- Hi all
Is it possible to add a check box next to the group box container text.
I have seen it in the CAM software I use but am unsure if it is possible in VB.net.
I have looked at all the properties but can't see anything that enables it.
Regards & TIA
Nathan