Hi
I want my program to start up outlook when pressed on a button, but only if it isn't already running, by using the shell command.
How can i check if outlook is running or not?
thnx
Hi
Following problem: I developped a program that opens and changes an excel-document and saves it on a different name.
this program runs flawless on my developping computer.
(windows xp,.net 2003,office xp).
When i make a setup-project (in .NET 2003) and install it on the target my...
Hi
Is there any way to change the colors (back- and forecolor) of a textbox that is disabled?
Locking the textbox isn't good enough because when it's locked, his events (lostfocus,validating,...) are still fired (and that i cannot have).
And i do need a textbox because some users can change...
Hi
Can someone tell me how to make a dsn-less connection to a sybase SQL anywhere 5.0 database?
for example this dsn-less connection to access:
("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\NewDB.mdb")
I want to so something similar to a sybase SQL anywhere 5.0 database
Any...
Hi
This is my code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim oXL As Excel.Application
Dim oWB As Excel.Workbook
Dim oSheet As Excel.Worksheet
' Start Excel and get Application object.
oXL...
Hi
I have following problem.
In my database i have a table of articles.
I show following columns on my report:
artnr,description,price,tax percentage.
The records are grouped on tax percentage.
In my group footer i show the running total of my price column.(totprice)
What i also show in my...
I'm using a windows xp pro system with visual studio.net 2003 and microsoft office xp.
This is my code
Dim oXL As Excel.Application
Dim oWB As Excel.Workbook
Dim oSheet As Excel.Worksheet
oXL = CreateObject("Excel.Application")
oXL.Visible = True
oWB = oXL.Workbooks.Add
The...
Hi
This is my stored procedure...
create procedure get_tableInfo
(
@tablename char(8)
)
as
select * from @tablename
return
This doesn't work.
What i want to do is returning a selection on a table in my database. The name of the table is given as a parameter.
Any thoughts?
thnx
Hi
This is my stored procedure...
create procedure get_tableInfo
(
@tablename char(8)
)
as
select * from @tablename
return
This doesn't work.
What i want to do is returning a selection on a table in my database. The name of the table is given as a parameter.
Any thoughts?
thnx
Hi
I want to display the current time
This is my code:
messagebox.show(now,"hh:mm")
I get for example: 01:30
What i actually want is: 13:30
My computer settings are correct because my windows clock in my statusbar is showing 13:30.
Can anyone help me?
thnx
hi
i have written a small database application using sql server. After testing my application on my pc everything works fine.
Now i copy my project to another computer also having vb.net installed (the same version as is installed on my pc). If i run my project there i always get an exception...
hi
How can i make sure the user cannot go to the second tab page befor the first one is filled in correctly.
If possible i would like to disable the little tab-button of tabpage2 when on tabpage1.
Until a checkbox on tabpage1 is checked the tabpage2 cannot be reached.
Any thoughts?
thnx
hi
following problem:
I have a textbox. When the decimal point is pressed on my keyboard i need it to be replaced by the comma.
I vb6 that was easy. you just had to replace the keyascii value in the keypress event.
In .NET the e.keychar seems to be read-only and cannot be replaced.
Is there...
hi
Following problem. What is the best way to work with popup windows on my windows form application.I'll give an example to clarify my situation. I have a form where you have to give the customerid and it will get the according data from sql and show it to you. But mostly the user doesn't...
Hi
I have so many problems and questions about the datagrid control, i won't even start asking them all.
Instead can someone give some usefull links to good documentation about the datagrid control (if possible with example code).
thnx
Any help is greatly appreciated.
Hi
This is my code (essential pieces):
dim rstop10 as adodb.recordset,netto as double
Set rstop10 = New ADODB.Recordset
With rstop10
.Fields.Append "netto", adDecimal, , adFldUpdatable
.CursorType = adOpenKeyset
.LockType = adLockOptimistic
.Open
End With
netto =...
Hi
is it possible to change for example the page-orientation of the default-printer (or another printer) to landscape?
My problem is that i want to send a txt-file to the printer without using the common dialog control and it must be printed in landscape.
Basically this is what i want: change...
i am using the following code the give the next control on the form the focus when the enterkey is pressed. The good thing is that it works, the bad thing about it is that it produces an annoying sound every time the enter button is pressed.
Private Sub frmKlantInfo_KeyPress(ByVal sender As...
I have a toolbar on my parent form. When one of the buttons is pushed, i.e the save button, i want to run the save routine from the child form that currently has the focus. I vb6 i wrote in the toolbar_click event on the parent-form following code:
select case button.key
case =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.