-
- Coding for a reminder
by AngelinaPerez
- 14 Replies
- Last post
by 002 007
- Hello, I am still a newbie guys,and I have tried a few line of codes to help me track contacts follow-ups and the code I have so far is no way near to what I wanted such as: System.Diagnostics.Stopwatch I'm just wondering if anyone has a VB code that could help alert: i) a user before and on with a date and time stored in a SQL Server database table, column - DATE_COLM. ii) The code should be abl
-
- Is there any way to autoclick with the mouse?
by tornin2
- 13 Replies
- Last post
by karlkruse
- Hi. It's me again. I was wondering, (and I'll probably get a simple answer that I could've figured out on my own.) is there any way to make the mouse move to a certain point on the screen, and then click by itself Thanks.
-
- What I see is not what I do
by Stephen_Sbh
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Hi,
I'm running Visual Studio 2005. And sometimes, when my codes get more and more, and my controls on screen get more and more, it start to misbehave. Sometimes the code I see is not the actuall code, what I mean is maybe the code is this
Normal Code
Dim a as String
Dim b as String
a = b
Private sub method1()
'Bla bla
End Sub
'Assume I got bunchs of
-
- Perminently update a dataset without SQL command?
by Pete_M
- 4 Replies
- Last post
by Pete_M
- Hi,
Is it possible to perminently update a dataset without an sql command. I am trying to edit a data table programmatically, and write my changes to my dataset. Something like this:
dim dt as new datatable
dt = me.dataset1.table1
dt.rows(1).item(1) = 5
dt.AcceptChanges()
me.dataset1.table1DataAdapter.Update(dt)
But, after i run this, the table in my dataset does not seem t
-
- Saving into Excel
by IceAngel89
- 5 Replies
- Last post
by IceAngel89
- I know i can save text files into text documents, but can i save them into excel spreadsheets
-
- How do I make this Connect To My SQL Forums?
by Superman42
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Well I want to know how can I make it so that when the login to my program in the beginning that it (The Login) checks the Username and Password and see if they are registered on my forums.
Can you please help!
Thx so much!
-
- Get the owner of a context menu strip.
by Troy Lundin
- 6 Replies
- Last post
by Troy Lundin
- I am having trouble doing this. I have a ContextMenuStrip and a ListBox. I have the context menu connected to the listbox. The menu has two items, Select All and Deselect All. I want to select/deselect all the items in the listbox when a button is clicked. I have done this before for a CheckedListBox but cannot remember how.
Thanks, Troy
-
- output array to excel
by Cammyr
- 2 Replies
- Last post
by Cammyr
- I need to output an array (datarow.getchildrows) to excel.
Dim XL As Microsoft.Office.Interop.Excel.Application
Dim xlwb As Microsoft.Office.Interop.Excel.Workbook
Dim xlsheet As Microsoft.Office.Interop.Excel.Worksheet
XL = New Microsoft.Office.Interop.Excel.Application
xlwb = XL.Workbooks.Open( "C:\tryout.xls" )
xlsheet = xlwb.Worksheets(1)
XL.Visi
-
- Console printing from clipboard
by norm29
- 4 Replies
- Last post
by norm29
- How do you make a console app put whats on the clipboard in as text and print it out
-
- Dont know where to start with Tcp/ ip
by AdamMontandon
- 6 Replies
- Last post
by AdamMontandon
- Hi everyone. I'm afraid I'm a total Newbie and dont know how to do this. So any help would be great. I am using Visual Basic 2005 Express edition. I want to create a very very simple program that will simply listen to a single port (port 1000) on the localhost, and put any data it receives into a text box. I have tried various things for the past few weeks, but they all seem quite complicated. I h
-
- about Type class
by janue
- 5 Replies
- Last post
by Spidermans_DarkSide - MSP, VSI
- hi, I am working a project and I found some codes on the internet and one of them got something like:
If c.DataType <> Type.GetType( System.Guid ) Then
Or...
If dg.DataSource.GetType() = Type.GetType( DataTable ) Then
Notice the words underlined. I am currently using Visual Studios to work on this project because I know little about VB, and the code doesn't s
-
- Database Connection using Visual Studio 2005
by rjack
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I posted almost a similar question last time but the answer provided would work for some one who is advanced in programming; I am a starter. What I am asking today is like this:
I developed a web interface using ASP.NET and a database using SQL Server 2005. I created connection to database using SqlDataSource control. I also used GridView control to display data. Using Visual Studio I can see t
-
- mcisendstring x64
by Sascha Zeidler
- 5 Replies
- Last post
by Joshua Morgan
- Hello,
I got a little problem. I would like to play sounds with my application. I tried already a lot of methods. I tried the mcisendstring method too. This works very well in 32 bit (x86 compile), but not in 64 bit (x64 compile). But why does this not work in x64. I've installed Windows XP x64 so normally it has to work. Can somebody please help me
Sincerely,
Sascha Zeidler
-
- Responding to any changes on a form
by ald7685
- 2 Replies
- Last post
by ald7685
- I'm building a winform with databound controls. I have 'Save' and 'Cancel' buttons available so that users can save changes they make to the fields to the database or can cancel what they've input, but I want to make these buttons unavailable until changes to the current record have actually taken place.
Is there an event that is triggered whenever any of the controls on the form is modifie
-
- Stopping a query in mid-operation
by &#126;DigBoy&#
- 5 Replies
- Last post
by ~DigBoy~
- I've always assumed there was no simple way to do this, but is there an appropriate technique to stop a quaery that is running on a SqClient connection For instance, I am filling a DataAdapter by using SqlCommand and SqlConnection objects that is running asynchronously in a background worker. I would think it would be a common scenario to be able to cancel a very long query within this context...
-
- GroupBox1 Location
by Cesar Francisco
- 10 Replies
- Last post
by Cesar Francisco
- How to code GroupBox1.Location (9,195)
-
- Two version of COM
by Ying06
- 6 Replies
- Last post
by SJWhiteley
- I developed a COM and distribute to client. Now my client required a major change of the COM and want to both version COM can work on same machine.
I modify the COM and make it version 2.0 (in assembly info). The new assembly name is xxxx2.0. I modify the setup project and make it a new version too. Get a new GUID for product and product update.
And then I test the distribution and f
-
- Visual Studio Installer Question
by Brandon Zundel
- 1 Replies
- Last post
by Riquel Dong ¨C MSFT
- I have created a screensaver with VB.net and would like to configure the installer to open the display properties window and select my screensaver.
Could someone tell me how to do this
Thanks.
-
- retrieve the name of a "NEW" control
by master_rigel2
- 13 Replies
- Last post
by Rea Software Engineering
- How do I retrieve the name of a new control that I add to my form programmatically. I use this line of code dim new textbox as textbox. The textbox appears on my form, at run-time, but I can't access it's properties, or retrieve it's name. I could just use a loop that says something to the effect of "Each time a textbox is added, the textbox name becomes textbox(number + 1) and track it that
-
- Need direction - Windows service interacting with web service?
by TedWagner
- 3 Replies
- Last post
by TedWagner
- I need a little direction here folks. If you know of any written material I can purcahse and refer to, I would be greatful.
I want to write a program that allows me to do a couple of things...
First, this program would be a service so that it can run in the background without a machine being logged in.
Second, the service would need to be able to run EITHER on a server or workstation Wind
-
- I need a delay in visual basic program
by BuddhaDave
- 10 Replies
- Last post
by Frank Carr
- I am writing a visual basic program that display the file from a directory in a list box
the app has a button which calls routines to
1. delete files in the directory
2.put some files in the directory
3. get the file info from directory and add file names to a list box
here is code for step 3
my sub
My .Computer.FileSystem.CurrentDirectory = "C:\mtmp"
' Create
-
- webpage accessing clipboard
by Anonymous099
- 1 Replies
- Last post
by Bruno Yu - MSFT
- i get that popup asking me to allow or not for webpage to access the clipboard. how do i get rid of that message I am running windows vista on my laptop. I gets annoying after a while. thanks for any replies.
-
- How can I focus in existing process?
by shawnmst
- 2 Replies
- Last post
by shawnmst
- Hi guys!
I've a question in the process.Hope you guys give any suggestion.
I'd like to stop a running program by send some hotkeys.
And my problem is that I can get the process id,
but I can't make the process focused to sendkeys like this:
Code Snippet
If SomeProcess.Responding then
System.Windows.Forms.SendKeys.Send("%(X)")
End If
Does anyone have
-
- DllRegisterServer entry point was not found
by michael447887
- 10 Replies
- Last post
by Tootsiepop
- I'm trying to use a .DLL file in a program I'm writing, and it comes up with the following error:
-
- unable to axinetrop.mswinsocklib.dll register
by Satheesh Kumar
- 2 Replies
- Last post
by narasiman
- Hi,
I have a Vb6 Code and i have upgrded to .NET and it requires axinterop.mswinsocklib.dll so I tried to regster the same and i am getting error saying Loadlib not found.. What will be reason and what could be the solution for this .
Satheesh Kumarr C