-
- Geting global-IP addres, best way?
by ShadowRayz
- 9 Replies
- Last post
by rkimble
- I make a program, and the end-user should Type his Global IP address for it...
the problem is getting that addres...the best idea i have is putting a web browser that will automaticlly navigate to http://WhatIsMyIP.com/ and will open it in text mode and will find the line and then the IP addres...
but its abig messy i think....
is there a better way that you can suggest me
-
- visual basic and office add-in
by maumau1001
- 2 Replies
- Last post
by maumau1001
- Hi at all. There's someone who know how take the control of the excel event into ad add-in This is the problem: i've write an excel add-in in visual basic and some function start when the user do doubleclick on a cell. There's a way to catch the worksheet before_doubleclick event from the addin Thanks to everyone will help me.
-
- Open Folder programmatically in vb.net
by Sidheshwar
- 5 Replies
- Last post
by dhir
- Hi
In VB.net I have a Form , textbox and Commant Button,
In textbox I have entered path e.g "C:\Temp\Temp1"
When i click the command button the location "C:\Temp\Temp1" should get opened in windows explorer.
Thanks in Advance
Sidheshwar.
-
- FileSystemWatcher - After event a started form is hanging
by GarNichtEinfach
- 2 Replies
- Last post
by GarNichtEinfach
- [sorry I'm a greenhorn]
Hi guys,
this is a weird issue for me. In a little Program I will list changed file in a listform. But when I handle any form event in the OnChanged sub the form is hanging. (The trick with the static var is because the watcher fires two events for every change)
Is there any help Thanks!
Here is a sample of my code:
Sub InitFsWatch( ByVal C
-
- compress folder
by Ken6558
- 10 Replies
- Last post
by Ken6558
- i want to compress a folder using VB.net I don't know how to do that
can some one give me any ideal.
-
- Plain-text printing on dot-matrix printer
by Bernardo Salazar
- 10 Replies
- Last post
by image india
- Hi everybody...
I need some help with printing in Visual Basic 2005: i have lots of customers that have dot-matrix printers, and, to be more specific, epson tm series of receipt printers (i have installed 1.61 epson tm windows driver). When i print using the PrintDocument, the output are beatiful, but painful slow. So, i want to print header of the receipt in the new fashion, but the rest of re
-
- Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding
by Zeeshan Ahmed
- 9 Replies
- Last post
by Diana.Manow
- I am using .net 2.0 ,MS Data access block to manipulate data and SQL server 2005 for data storage.
I am calling 4 functions to access data while loading UI Form. On function 3 I got error ¡° Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding ¡±.
Interesting thing is that it occurs occasionally (once in more the 1000 calls, my idea),
-
- vba access code entering break mode
by skbNo5
- 1 Replies
- Last post
by SJWhiteley
- I have been running an application developed using VBA and Access 2000 for some time. It has a lot of querries, reports, forms etc. and it is scheduled to run early in the morning. From yesterday, probably half way through the execution it enters the break mode on its own. I know there hasn't been any code change and I regularly Compress and Repair the data as well. The size of
-
- How do I insert text in a textbox which will be stored in access database
by BabyGirl
- 14 Replies
- Last post
by PEng1
- Hi I am creating a booking system and I wanted to know how i can get data entered in my customer details and payment page into my database. I have used code for it. Also I had another problem I have two dropdown list boxes one is called from which lists the airports and the other is called to which should list the destinations. when I click on the from list box and select an airport thn it should
-
- Referenced Assembly Requires Strong Name??
by Indee
- 2 Replies
- Last post
by BinaryCoder
- I developed a DLL (Framework 1.1) that proxies a web service. When referenced by a project on my machine there are no issues. When it is referenced by the main application on a dev machine (also written in 1.1), we get this error at design time:
Unable to emit assembly: Referenced assembly 'SSRSWSProxy' does not have a strong name
How can I avoid having to strong name the DLL Is
-
- Picture Viewer PictureBox
by Ronald-L
- 7 Replies
- Last post
by Kaybaone
- Here is my issue. I have a database with about 10000 records in a table. This table holds the order number and location of a image that resides on a HDD. Some of the images are individual pages of a multipage document. I would like to create a viewer that a user can type in the order number of the document, such as '8902099' and then be able to display the image on the screen.
I've got the basi
-
- Windows Hooks usage in vb.net
by vbdotnetbeginner
- 1 Replies
- Last post
by MSFT Abel Valadez
- hi,
I am currently working on developing a simple automation tool.I found a vb6 code which uses windows hooks JournalRecord and JournalPlayback .I tried to port it to vb.Net ,but facing problems with this upgrade.
I get errors in setwindowhookex procedue stating Address of cannot be used with long because long is not delegate type.I then created a delegate for JournalPlayback but still i
-
- ComboBox - Saving added items at runtime
by Tarey Wolf
- 5 Replies
- Last post
by Tarey Wolf
- Here's what I have which adds text typed into the combo box to be added to the combobox as an item at runtime on a button click:
Dim ni As String = cboDocType.Text
cboDocType.Items.Add(ni)
cboDocType.Text = ""
But this language doesn't add the items permanently to the combo box as part of the collection. When I stop the program then run it again, the items ar
-
- Query Designer needs at Maximize button
by BobInIndy
- 1 Replies
- Last post
by CommonGenius.com
- Using VS05 SP1 Pro SQL Express¡
The Query Designer (used by Store Procudure, Design SQL Block, and Table Adapters, Add Query) desperately needs at Maximize button in addition to the X and
The default size that it opens is far to small to be useful, and you want time dragging the sides to make it largers, and for some reason, under VS05 it won¡¯t let you drag the side to make it large
-
- String problem
by Kathy J
- 2 Replies
- Last post
by spotty
- Here's a newbie question:
I'm trying to concatenate several strings into one long insert statement string. That works fine until the string reaches 250 characters. After that only one character is added and that is not the next character I want to add. I didn't think the string datatype in Visual Basic was restricted to 250 characters. My code goes something like this:
sqlstmt = "INSERT
-
- Convert delimited text file to .mdf
by WalangAlam
- 3 Replies
- Last post
by WalangAlam
- How do you convert a text delimited like this into an .mdf(Microsoft SQL) Textfile.dlm "010000001001022205001Y 5311 #0001 Y N","2802739","38","F","025","016","021" "010000002001022205001Y 5311 #0001 Y N","2804343","18","M","024","021","021" "010000003001022205001Y 5311 #0001 Y N","2805003","29","M","023","010","018" "010000004001022205001Y 5311 #0001 Y N","2804538","28","F","005","014","011" "010
-
- Could someone point me in the right direction?
by Cammyr
- 12 Replies
- Last post
by Cammyr
- Not even sure where to start.
Need to subtract quantity from inventory table when quantity is added to invoice table.
Start with transaction stored procedure
Any guidance would be appreciated.
-
- Call a query to set an image?
by nyqa
- 1 Replies
- Last post
by Bruno Yu - MSFT
- How do I set the image on a picturebox to a specific value inside a database I have a column "DirPath" that contains the path for the image. How do I connect my picturebox to get this image to show at startup Can I build a query to do this
-
- Printing a report
by lucashii
- 1 Replies
- Last post
by yfdong_MSFT
- I am new toward printform.I wish to know if it is possible to print report from an sql database. Say I have a hundred rows of records in a database which I would then display onto the form and have it printed something like this
Name: John
Age: 20
Name: Lucas
Age: 20
How is it possible to display so much data into one form and have it printed Any guidance would be apprec
-
- SQL BindingNavigatorCountItem total number of records incorrect
by Anonymous566609
- 14 Replies
- Last post
by Anonymous
- I have a windows form with sql adapters and a binding navigator tool strip that conatins a bindingnavigatorcountitem. The SQL BindingNavigatorCountItem total number of records is incorrect after deleting a record. The total number shows 2 records less instead of 1,
i.e.. if it shows 1 of 40, after deleting one record it will show 1 of 38 which
is incorrect. If I exit the program and go back
-
- Compile error: Invalid Outsid Procedure
by Samrah
- 1 Replies
- Last post
by Adam Braden - MS
- Hi, I'm working with access 2002 and I'm trying to use microsoft visual basic to program a form in access. The aim is to use visual basic to output customer ID as I type in a customer's first and last name. However, when I test the program, I keep getting a message box that states: Compile Error: Invalid Outside Procedure. I'm following a MS Access 2002 book, and I checked every syntax in the code
-
- TXT File to MS Access
by ElDorado.
- 14 Replies
- Last post
by PEng1
- We have a manufacturing machine that spits out txt files every so often and we want to read the files and upload them MS Access. Below is a sample of the txt file:
[Job] Line=041 Machine=F/M #59 K155 Description=786201 PP0.5ml 0003-2 PartNumber=0003-2 NominalCycle=68.00 JobStartDate=2/22/2007 11:08:52 AM StartDate=2/27/2007 11:00:00 PM StopDate=2/28/2007 1:01:52 AM Cycles=108 Ru
-
- [OTP]system tray information
by kissii
- 5 Replies
- Last post
by DMan1
- Hi, I am new to Visual Basic. I want to write a application to know what are processes/Services running in system. What i am thinking is if i get system tray information, i can collect all processes/Services from there. Can you please help me how to get system tray information Thanks in Advance Kishore
-
- DataGridView questions
by vba-dev
- 3 Replies
- Last post
by SJWhiteley
- Please forgive the fact that I'm a longtime VBA developer, trying to learn to work with Visual Studio 2005 and VB. I have a few general questions, please.
I have a requirement in my project that the user have the ability to drag and drop one or more Technicians onto a row listing of Jobs. The list of Jobs should appear as a grid. This is more or less a scheduling form, or screen.
All
-
- Array assignments in Jeopardy
by Xan_Fantasy
- 7 Replies
- Last post
by Xan_Fantasy
- OK so earlier I asked about array declarations in the module which now works. Here is the code I used for it Module Round1ModulePublic Public arrRound1(3, 6, 1) Private Sub Round1() arrRound1(0, 0, 0) = "Question" arrRound1(0, 0, 1) = "Answer" End Sub End Module Then on the Round Board I used a grid of buttons for the different point and subject categories