i also looking for how to get the hard disk serial number. unfortunately to say that, i couldnt get it. only can get the volumn number. but... if you really need and willing to pay for the solution, you can visit ionwork.com. its about 50USD.
however, hopefully someone can write the program to get the serial number and share with us....
User Profile
Collapse
-
i want to protect my application without using any dongle. so i have to to get the hardware id. but hardware id like hdd id will change after format. cpu id also can change in BIOS. the best way is to get the get the serial number? how to get the manufacturer serial number?
thanks...Leave a comment:
-
Please attach your code for troubleshoting
i think is logical error in delete button...Leave a comment:
-
Auto Run Macro In Power Point
my application will open a power point, append variable slides into it and run the power point presentation show. after the show end . i have to quite the power point.
currently i using sleep function to delay the quite event.
Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
but this method is not practical.
the time is fix in precode.
is... -
it is simple example dealing with Winsock, eternet application. is for Anuj...Leave a comment:
-
Thank a lot Sashi
Code:shell "shutdown -s -f -t 0"
Leave a comment:
-
Private sub form_Load()
'2007 is the port num used by ethernet port to identify which program is
'connecting, 1 ethernet port may have few port number( for diff program
Winsock.LocalPo rt = CLng(2007)
Winsock.Listen
end sub
Private Sub winsock_Connect ionRequest(ByVa l requestID As Long)
Dim bErrorFlag As Boolean
'closes connection if one is already open
If Winsock.State...Leave a comment:
-
Private Sub Winsock_Close()
Winsock.Close 'closes any previous connections
Winsock.LocalPo rt = CLng(2007) '2006 is the port number agree byboth side (Both side must use the same number)
Winsock.Listen
bPreNextFrame = True ' Resend i7
lblStatus.Capti on = "Listening"
bSendActive = False
Call Twincat.Ads1.Ad sSyncWriteBoolV arReq(PreMarkDa taReceive,...Leave a comment:
-
Formatting text in Ole
Hello Guy
How to format the text in ole?
i embedded a power slide in the ole. how to format the slignment , bold.... in the ole?
with
dim PointApp as powerpoint.Appl ication
set PointApp = new powerpoint.Appl ication
how to link PontApp to the doc embedded in ole?
i would like to get the content in the slide embedded in ole.
thanks for valuable idea and comme... -
i got 1 of the solution for control the vsibility of the toolbar.
Set PointApp = New powerpoint.Appl ication
PoinApp.Present ations.Add msoCTrue
PoinApp.NewPres entation.Add App.Path & "\Slide\Sam ple slide.ppt"
PoinApp.Command Bars.Item(3).Vi sible = True
PoinApp.Command Bars.Item(2).Vi sible = False
PoinApp.Command Bars.Item(1).Vi sible = False
...Leave a comment:
-
Disable and position office toolbar
hello,
i having an ole application open power point and word for editing. having problem of when i activate the document. office toolbar prompt out and overlap with my control and button. how do i control te appereance of the toolbar.
for example, i want the animation scheme to appear but the standard toolbar do not showing out.
and how can control where the toolbar to appear in my form . cant find reference... -
i executed the command, odd thing is nothing hppend and no error message prompt out!..
i be able to log off and restart, but only shut down. refer to some text. shut down function are related to system security? have to set it? any idea?...Leave a comment:
-
do i have to set ole applisrunning to false ?
do i have to set ole applisrunning to false b4 i use createembed to embed another doc? will it occupy the memery if i didnt set it to false? -
Unnable to shut down window
Hello
i trying to shut down window using vb. i able to restart and log off, but was unable to shut down. when excute the shut down command , nothing happend. it related to window os security issue? -
problem of embbed microsft office into ole
Hello
i have an application embbeded microsoft word and power point into ole. i facing a problem of it take very long time to execute the ole.CreateEmbed statement.
its about 5~10 sec.
and another problem is when i acivate the document fo editing, microsoft tollbar showing on the top and overlapped with my control. how to control the position of the toolbar? .
i just found som discussion regarding... -
delay in embbed microsof word doc into ole
Hello,
i have an simple application which embbed microsoft word and microsoft power point in ole. its just
dealing with some simple task like save , open and some database function. i facing a problem
of , when i first running my application , it take long time to load.
my form_load mdule contains the folowing code
OLE1.CreateEmbe d vbNullString, "Word.Docum ent"
... -
Sample Code Primary key in a table
hello,
im using microsoft access as my Db. i need a primary key in my table and i have to generate the table in vb code.
how to write the statement to create a primary key in a table ?
can someone proovide me a simple sample code for it ?
thanks -
adodc1.Connecti onString = "Provider=Micro soft.Jet.OLEDB. 4.0;" & _
"Data Source=" & App.Path & "\Log\" & gCurrent_MDB & "C" & ".mdb" & ";Persist Security Info=False"
adodc1.recordse t.recordsource = "SELECT * from table_Name"
adodc1.refresh
do while NOT adodc1.recordse t.EOF
'stName = adodc1.recordse t.field("FieldN ame")...Leave a comment:
-
adodc1.Connecti onString = "Provider=Micro soft.Jet.OLEDB. 4.0;" & _
"Data Source=" & App.Path & "\Log\" & gCurrent_MDB & "C" & ".mdb" & ";Persist Security Info=False"
adodc1.recordse t.recordsource = "SELECT * from table_Name"
adodc.refresh
do while NOT adodc1.recordse t.EOF
'stName = adodc1.recordse t.field("FieldN ame")...Leave a comment:
-
No activity results to display
Show More
Leave a comment: