|
hi Everybody
I am working in vb i created a dll which i call from the visio add in .its working fine for one document.but when I call it from two document it is not working properly,its works for the document which calls it later if someone have idea Please help me, its really urgent.
Thanks
|
|
|
|
|
hi. i'm new in the VB language... can you help me on how to connect to an access database? Can you show me some codes on how to do it? thanks
|
|
|
|
|
|
|
Connect to MS Access
Dim Conn as OleDbConnection
DIm strConn as String
strConn="Provider=Microsoft.Jet.OleDB.4.0; data source=C:/Northwind.mdb"
Conn = New OledbConnection(strConn)
Conn.Open()
Hope can help you
................
|
|
|
|
|
Socheat.Net wrote: strConn="Provider=Microsoft.Jet.OleDB.4.0; data source=C:/Northwind.mdb"
Becareful about an example path:
C:\Northwind.mdb
|
|
|
|
|
Hi
Has anyone worked with DVT cameras? I want read and write camera registers. With activeX I can control the camera fine but working with camera registers(string,byte,int,...) acticeX is not capable (I think so). I use VB.Net 2003 standard version.
|
|
|
|
|
I am using a function to keep an error log in case of run-time errors. When the program breaks, ex.stacktrack and ex.innerexception, containing useful technical information are not written to the log file.
Any ideas?
Jon
:->
Code:
Friend Sub DisplayError(ByVal Caption As String, ByVal ErrorMessage As String, _
ByVal LogError As Boolean, Optional ByVal InnerException As String = " ", _
Optional ByVal StackTrace As String = " ")
' Displays an error message and logs the error
If Caption = "" Then
MessageBox.Show(ErrorMessage, Caption, MessageBoxButtons.OK, MessageBoxIcon.Error)
Else
MessageBox.Show(ErrorMessage, Caption, MessageBoxButtons.OK, MessageBoxIcon.Error)
End If
If LogError = True Then
'Log the error message in a text file
Dim ErrorLog As New StreamWriter(strAppPath & "\" & "Error.log", True)
Const strDelimiter As String = ","
Try
ErrorLog.Write(Now.ToString)
ErrorLog.WriteLine(strDelimiter & Caption & _
strDelimiter & ErrorMessage & _
strDelimiter & InnerException)
Finally
ErrorLog.Close()
End Try
End If
End Sub
Jon
|
|
|
|
|
Do you send any inner exception string to the method?
You have no code that writes the stack trace to the file.
---
b { font-weight: normal; }
|
|
|
|
|
|
i need to implement Cut and paste in VB.NET Application.
I m finding Error-->strType = CType(sender, MenuItem).Text.
Kindly reply a working solution for this.
Thanks.
pooja
|
|
|
|
|
Standard question #2:
What error message do you get?
---
b { font-weight: normal; }
|
|
|
|
|
Hi to everyone,
I've written a small application which reside in the tray area, with a context menu and no form.
I'm trying to display a user drawn menu, the same way I already did so many times in standard Windows application, by using the DrawMenu & MeasureItem couple (and of course the UserDraw property set to True); but I'm getting no output, just a blank line, even the text ("View logs", for instance) disappear, though if I click on the item I get the expected behaviour (the log window appears).
By the way, another difference with the standard Windows app, is that I'm defining the menu items in the sub Main (since I have no form)
Can someone please help me.
Thanks in advance
Marco Turrini
|
|
|
|
|
Hi,
I'm trying to locate sample code or a free library to extract thumbnails for Office documents, in particular Excel and Word. Can anyone point me in a good direction here?
Many thanks in advance!
~~~~~~~~~~~~~
John Willemse
|
|
|
|
|
I wanna make the window fixed.
not sizable. and i want to prevent the use to maximize or minimize by clicking on the top border of the window (Form)
How?
Faris Madi
Nothing Comes Easy (N.C.E.)
|
|
|
|
|
Form --> Go to properties --> Borderstyle --> select either none or fixed single
|
|
|
|
|
i don't wanna use None.
and the Fixed Single...when u DClick on the top bar it will automatically will maximiz
Faris Madi
Nothing Comes Easy (N.C.E.)
|
|
|
|
|
Set border style to fixed single and set the property maximizeBox = False
'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd
-- modified at 5:31 Tuesday 4th July, 2006
|
|
|
|
|
I 1 2 make chat application as web application in vb.netm, can anyone help me please?
Thanks
................
|
|
|
|
|
Socheat.Net wrote: I 1 2
I one two??? Oh.... "I want to". To be taken seriously please write properly structured sentences. This is not a text message with a 160 character limit.
Socheat.Net wrote: I 1 2 make chat application as web application in vb.net
Okay... So what part of making a chat application are you stuck with. A chat application is a big project and you are not going to get an answer to such a vague question as that in a forum. Be specific! Make an attempt yourself, and then, if you get stuck, as for help on a specific aspect of your application. We are not going to tell you how to create your application.
|
|
|
|
|
I just want to make in my small network group only.
Thanks
................
|
|
|
|
|
|
Example as Yahoo Messenger
................
|
|
|
|
|
|
Yes I get it, it very dificult to do, i will try my best
Thanks
................
|
|
|
|