|
no i want to do some activity after user confirmation...
TC
|
|
|
|
|
TC28 wrote: is their any technique that i can use to do so other than javascript...
NO - if you want a message box on the client, Jscript is the language that runs on the client.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
How to take an image from SQL Server to Crystal Report?
|
|
|
|
|
Hello! Everybody.
Connecting series of coordinate data forms Undee graphic. The Problem is how i store these mass data?
Write to DB or Text File or else?
Could you give me some suggestions?
Looking forward to your answer!
ICQ:258-235-734
MSN:msnadair@hotmail.com
|
|
|
|
|
hi all:
how the bold code suppose to check if the fsi(FileSystemInfo object)
contain file or directory ??
its working fine but i want to understand how ??
Sub DisplayFileSystemInfoAttributes(ByVal fsi As IO.FileSystemInfo)
' Assume that this entry is a file.
Dim entryType As String = "File"
' Determine if this entry is really a directory.
If (fsi.Attributes And FileAttributes.Directory) <> 0 Then
entryType = "Directory"
End If
End Sub
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
The And operator ( && in real programming languages ) returns true if the value on the right is also contained in the value on the left. In other words, if Directory is 0010 in binary, then 0011 and 0010 will both return true, 0001 will not.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
please excuse me.......
but what is the mean of Christian Graus wrote: if Directory is 0010 in binary, then 0011 and 0010 will both return true, 0001 will not.
specially the bold code
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
If Directory is a number ( and, as an enum, it is ), and it's binary representation is 0010, then the collection of values represented by 0010 and 0011 will both contain the Directory value, and will so both return true when Anded with Directory.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
ok... but why the coder choose to add the value of the file attributes
to FileAttribute.Directory(10000)
example of directory
10110 and
10000
------
10000
example of file
100000 and
010000
------
000000
why is both cases we have to add the value(10000)
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
You're not adding, you're comparing. The AND operator returns true if a flag is present on both sides.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
ok thank you
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
Hi
How can I program Text2Speech Engine in VB6 of my defined voice quality.
If it cannot be done in vb, then do suggest me wer to find it.
bye
pitchu
|
|
|
|
|
Hi ,
u can do it by installing ms-speechengine speechsdk51 (available to download)
there is sapi controls would be added inside ur toolbox.u can activate these controls using adding items in toolbox.u can find help in vbcode.com by search of sapi.
|
|
|
|
|
Hi
I think u didnt get it
"I wanna progrm my own engine"
pitchu
|
|
|
|
|
Then start Googling to do your own research on what's involved since you appear to know nothing about what you're getting into.
Also, VB6 is probably not the best language to choose for this. Visual C++ would be much better since you'll need the performance benefits.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hello,
I have the code below in a combo boxes keyup event. I want to do something then the user presses the tab key. But it does not work. I have tried this with other key i.e. enter, shift, letter, and numbers. But does not work when the user presses the tab key.
Does anyone know why this is.
<br />
If e.KeyCode = Keys.Tab Then<br />
'Do something then the user press the tab key<br />
End If<br />
Thanks,
Steve
|
|
|
|
|
The tab key moves focus to the next control. If you want it to do something else, I'd guess you need to catch KeyDown, not KeyUp.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
I am stuck on a project. I have a .txt file with 8 separate lists in it. Each list is separated by a "#" sign. I need to use StreamReader to read each individual list from the file and transfer each list into a separate combo box for user selection. I can read the file but I am having trouble passing each line of a list into the combo box. Basically I only get the last line.
My Code is as follows:
Dim SongStreamReader As IO.StreamReader
Dim Record As String
If IO.File.Exists("Country.txt") Then
SongStreamReader = IO.File.OpenText("Country.txt")
Do Until SongStreamReader.Peek() = -1
Record = SongStreamReader.ReadLine()
Me.uiList1Combo.Text = Record
Loop
SongStreamReader.Close()
Else
MessageBox.Show("File Does not exist", "Country", MessageBoxButtons.OK, MessageBoxIcon.Information)
End If
End Sub
Any Suggestions?
|
|
|
|
|
|
Hey all,
I was wondering if I'm even looking in the right direction on this one.
What I want to have happen, is in the client's PC, call CreateObject('ObjectOnServer.MyClass') then begin using the methods I built into the class on the server. Something like... getXML('identifiy where the xml is') and that will pass me back the XML.
Can the CreateObject access a class on the web? If so, any pointers on how would be appreciated.
Thanks,
Mike
Gaming at the GuildofBlades.com is the only way to really experiece the level 99 Soul-Sucking Sword!
|
|
|
|
|
This will only work if the component you want to call is registered on the clients machine as a remote-call object. You cannot specify the path to the object in the ProgID string you pass to CreateObject. Your object registration file must include this information. You'll use RegSvr32 to register the component using this file, just like any other. The registration file you use depends on the component you're registering.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
How to : key enter to next focus right cell in datagridview ?
|
|
|
|
|
use keydown... for next row... but if your talking about next cell right side using enter key then get the tab code then apply it to the enter key event...
nothing is impossible.....
|
|
|
|
|
Hi Everybody,
I am a new member in this forum and in fact on this site.
I need a link to a good tutorial on vb.net.
I will appreciate somebody's assistance.
Thanks.
"YOU CAN MAKE MORE MONEY ONLINE... STARTING TODAY!"
YOU CAN MAKE MORE MONEY ONLINE... STARTING TODAY!
No Start Up Costs! I will pay your way in Today! Join NOW!
http://www.trafficwave.net/members/webwareshop
|
|
|
|
|
Your best bet when starting out is to buy a book, not to read stuff online, which can be disjointed.
I'd sure love it if you removed that spam from your sig.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|