|
Hi Dear,
Thanks Dear for your help but dear Actually I am Looking for steganography which means I have to hide my text data behind An image and then Retrieve That Data from the image......the Example you gave me Was difficult To understand for me...........Please can you help me more......
|
|
|
|
|
hi i have an apllication build ( with help !! much help from japarbz )
that opens links like :
http://www.google/userid=1
then http://www.google/userid=2
and so further ..
its an dynamic hyperlink with vazriable i
but now , its a difficult part ( i think)
first
a link has to open ( with the application)
so : http://www.google/userid=1
then , a button on that page has to be clicked
then the page goes like ; http://www.google/userid=1/completed ( example)
then yes , : http://www.google/userid=2 has to open
again , a button on that page has to be clicked ( the same button , same place , so maybe a can use an auto mouse clicker) ?
but i cant take the final url of example -> http://www.google/userid=1/completed cause it wont work so i have to use something like an auto mouseclicker
someone knows how to change the source that i dont have to use an extern auto mouse clicker ?
or someone another idea
here is the source of the appl that i have now ;
Option Explicit
Dim i As Integer
Dim j As Integer
Dim t As Integer
Dim SaveStr As String
Private Sub Command1_Click()
Dim msg As String
msg = InputBox("How many times want to repeat ?", "repeat", 0)
If IsNull(msg) = False And IsNumeric(msg) = True Then
t = CInt(msg)
Else
Timer1.Enabled = False
End If
Timer1.Enabled = True
SaveStr = Text1.Text
End Sub
Private Sub Form_Load()
i = 1
Timer1.Interval = 100
Timer1.Enabled = False
End Sub
Private Sub Form_Resize()
Text1.Width = Me.Width
WebBrowser1.Width = Me.Width
WebBrowser1.Height = Me.Height
Command1.Left = Me.Width - Command1.Width
End Sub
Private Sub Timer1_Timer()
If WebBrowser1.Busy = False Then
WebBrowser1.Navigate SaveStr + CStr(i)
Text1.Text = SaveStr + CStr(i)
i = i + 1
If i = t + 1 Then
Timer1.Enabled = False
Text1.Text = vbNullString
t = 0
i = 1
End If
End If
End Sub
|
|
|
|
|
how to use report viewer in win application? please help me
Thanks
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Be more specific. Your question is way to vague.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Can anyone uses the following library tell me more on how to use them?? And please advise any books or website where there is description and example of the following library... Thanks a lot in advance..
|
|
|
|
|
Subjugate wrote: website where there is description and example of the following library...
Have you even considered doing a google search on it?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Yup i done that before already but the did not show anything relevant.. That's y i am a bit lost now and deadline is drawing near.
|
|
|
|
|
Hey,
I want to store a list of products in a database. I've tried XML, but the problem is: I can't store special characters. (Actually, there are ways, but I need something simplistic ) So: does anyone have ideas on saving a list of products in a database, which I can edit and read with ease? I am using Visual Studio 2005 with Visual Basic.
I want to store it like this:
<code>
[Groupname]
[Brandname]
[Productname]
[Price]3,99[/Price]
[ItemID]12345[/ItemID]
[Description]""[/Description]
[/Productname]
[/Brandname]
[/Groupname]
</code>
Remember: I need to save special characters (in the names aswell!)
Thanks in advance!
Motivation is the key to software development.
modified on Sunday, September 21, 2008 8:26 AM
|
|
|
|
|
Seems like a straightforward database design, where is your problem exactly?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Well, i'd like to know what's the best way of saving that list of products including special characters
Motivation is the key to software development.
|
|
|
|
|
Depending on the volume/number of users I would use either sql server or sql server express. In either case nvarchar is the datatype you require.
Hope this helps
Bob
Ashfield Consultants Ltd
|
|
|
|
|
SQL, MSAccess, Oracle
Personally i would either use Microsoft Access or create a new file format for my purposes.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
Hello everybody,
being rather new to VB.NET (VS 2008 Express) I have to admit that I study much more than producing results. So first of all: Thank you everybody in here for an invaluable source of inspiration, which is highly appreciated!
One of the little tools I'm playing around with is just listing the number of files in all the directories / subdirectories of a selected Path. Since a path might contain several folders with approx. 30.000 larger files (8 MB each), I'm a bit worried about performance and would like to ask for review and advice:
- I'm using two backgroundworkers, the first of which is intended to proceed a total files count (incl. all the subdirs in the path) in order to set the maximum for a progress indicator:
total = My.Computer.FileSystem.GetFiles(PathName, FileIO.SearchOption.SearchAllSubDirectories).Count
- the second BW calls the function "zählung" which loops through the subdirs and updates the progress indicater through the _ProgressChanged event:
Private Sub Zählung(ByVal obj As String)<br />
Dim subfolders As System.Collections.ObjectModel.ReadOnlyCollection(Of String)<br />
Dim files As System.Collections.ObjectModel.ReadOnlyCollection(Of String)<br />
<br />
On Error Resume Next<br />
Me.Refresh()<br />
If BackgroundWorker2.CancellationPending Then Exit Sub<br />
<br />
If InStr(1, obj, "RECYCLER") > 0 Or InStr(1, obj, "System") > 0 Then<br />
'MsgBox(obj & " ist ein Systemordner", , USRINFO)<br />
Else<br />
If My.Computer.FileSystem.FileExists(obj & "\" & "Thumbs.db") Then<br />
My.Computer.FileSystem.DeleteFile(obj & "\" & "Thumbs.db")<br />
'MsgBox("Thumbs im Verzeichnis " & Pfad & " gelöscht!", MsgBoxStyle.Information, USRINFO)<br />
End If<br />
<br />
subfolders = My.Computer.FileSystem.GetDirectories(obj)<br />
files = My.Computer.FileSystem.GetFiles(obj, FileIO.SearchOption.SearchTopLevelOnly)<br />
ordner = ordner + subfolders.Count<br />
dateien = dateien + files.Count<br />
<br />
If total = Nothing Then<br />
'initially the progress indicator style has been set to marquee<br />
BackgroundWorker2.ReportProgress(dateien * 100 / dateien, obj)<br />
Else<br />
'progress indicator style has been set to continuous before, when BW1 is finished<br />
BackgroundWorker2.ReportProgress(dateien * 100 / total, obj)<br />
End If<br />
<br />
For Each unterordner As String In subfolders<br />
Zählung(unterordner)<br />
Next<br />
End If
During above function (i.e. ReportProgress) each path is also shown in a form label, and an additional timer-label (showing the time elapsed) is updated. How can I limit these updates to e.g. once per second?
After reading e.g. about "virtual listview" control, I really doubt that my methods are performing the best way they could. Would you be so kind and let me know any better performing ways?
Thank you very much
and have a nice day
Michael
|
|
|
|
|
Michael Schäuble wrote: total = My.Computer.FileSystem.GetFiles(PathName, FileIO.SearchOption.SearchAllSubDirectories).Count
That will create a list of strings that you just throw away, as you only use the size of the list. You should implement a method that loops the folders and counts the files, so that you don't create that huge list just to throw away.
Michael Schäuble wrote: During above function (i.e. ReportProgress) each path is also shown in a form label, and an additional timer-label (showing the time elapsed) is updated. How can I limit these updates to e.g. once per second?
Store the path in a variable, and use a timer to once a second put the current path and the elapsed time in the labels.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Thank you, Guffa. Seems like I can really increase performance...
Which method would you think of? I'm pretty new to VB 2008 and didn't find any other method how to count the files yet, than listing their names and counting the number of names afterwards...
Regarding your 2nd hint: The path is stored in a variable (string), but the BackgroundWorker is called within every loop of the function and updates the labels. Which commands or structure would I need to limit that to once a second? How would I express something like "if now() = LastLabelUpdate + 1 then BGWorker.update" or so...??
|
|
|
|
|
Michael Schäuble wrote: Which method would you think of? I'm pretty new to VB 2008 and didn't find any other method how to count the files yet, than listing their names and counting the number of names afterwards...
You use the same method, but you don't tell it to look in all sub folders. Instead you look in the sub folders yourself and count the files. That way each list you get only contains the files in a single folder. You will use the same amount of memory, but not at the same time. A lot of small objects are cheaper than a few huge objects, especially as the small objects are quite short lived.
Michael Schäuble wrote: The path is stored in a variable (string), but the BackgroundWorker is called within every loop of the function and updates the labels. Which commands or structure would I need to limit that to once a second? How would I express something like "if now() = LastLabelUpdate + 1 then BGWorker.update" or so...??
You either use a timer set to elapse once a second, or you store the time of the next update (DateTime.UtcNow.AddSeconds(1) ) in a variable so that you can compare it to the current time.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Full House, Guffa
I guess you helped me understand the details of what I'm doing a bit more ... highly appreciated!
Michael
|
|
|
|
|
Hi All!
In my project, I need a solution explorer control but I can't seem to find a nice ready-made solution explorer or any information on how the visual studio solution explorer works that I would need to make my own. Does anybody have any ideas?
Thanks!
MrWolfy
|
|
|
|
|
Hi all...
I wanna draw a transparent/colorful bitmap on my form using graphics
Could anyone tell me the procedure???
|
|
|
|
|
make a transparency mask by drawing your transparent area an unused color, then use the ImageAttributes class to specify what color to draw transparently.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Thnx for ur suggestion The JZ but I have already tried it.
I want to create a top-most window so that before closing the window,one can not use or access data from previous window..
Help me...
Gagan
|
|
|
|
|
don't post like this, post in the thread, no-one knows what the previous suggestion was. I assume it was to set the window to be topmost, that is your only option. And yes, it works just fine.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
isn't just form.ShowDialog()?
Intelligence is almost useless for those who have nothing else!
Email: caiokf@gmail.com
|
|
|
|
|
I want to create a top-most window.
If a window will appear then before entering or canceling data user can't perform any other operation.
Help me...
|
|
|
|
|