Search:
Type: Posts; User: Half
Search:
Search took 0.37 seconds.
-
I sometimes take 'huge' dumps of databases to work with when disconnected. Simple XML files, 2, 3, 5 GB in size. Trawling through them seems to take the same amount of time, sometimes it is a bit...
-
Well, even though you worked at the only banking data center on the planet which opened and closed with you coming and going, you can always check the OP's question :D
-
It's because many people observe the decimal convention for their country up to 9th grade or so. Then it kind of becomes fancy to use periods and commas interchangeably in decimals. These people...
-
Hmm... since you already know how to get the data... what if you were to setup a viewer yourself, enable whatever buttons you need and feed it that data?
-
Alternatively you can use file time. It is a simple Long, easy to convert to anything, very high resolution (to the 100th nanosecond), and can be used as a file name. When I have to store time stuff...
-
Yeah there is no way around iterating unless you want to do string operations on the source html. To get to some value you have to access its element, not the element that contains the element with...
-
I think directly learning about and then implementing multithreading is better than this creepy BackgroundWorker thing.
Also, best is to have simple stuff going on in the different threads. If you...
-
Probably a byte order mark issue. Try to save the string using the default encoding. Something like:
Using myWriter As New StreamWriter("c:\somewhere", False,...
-
Ah, that reminds me of a discussion where I was saying that it is pointless to ignore exceptions since they are the most robust way to stop a program from behaving erratically. And tg was promoting...
-
You can write to other processes windows using windows messages, i.e. WM_SETTEXT. It will probably become pretty messy pretty fast.
Another way is to read the C app's memory, that would be through...
-
Mhhh this whole thing started by me trying to say that it is ok to simply loop through a string and get the bytes of each char. It seemed 'clunky' and 'vb6ish' to the OP but it is neither. If...
-
Are those multiple lines in one file, something like:
[Area.100]
[Area.51]
[Area.69]
-
You can use the window handle of the control (not the one of the application, nor the process handle). Some controls also have an ID that does not change between restarts so it is possible to use...
-
Switching VS versions for a given project can be as confusing as seeing three fishes taking a hike from a vase.
You can try simple copy & paste of code (and fix it on the go) and even objects...
-
Um, yes it is.
[/QUOTE]
Note the 'another system' piece of text. You can use a system of dead raccoons to store Unicode data and call it URCns-D but it won't make it Unicode. To illustrate the...
-
Unfortunately, yes.[/QUOTE]
Ok, here's a SHA256 result: k4oHlKDxe/D7yzrdYM3tY4vS5fLKxM15SYLNq5sIVFs=
What is the input string? You have 11 months.
-
One way is to add an "Exit Sub" right after the message boxes.
-
Without the actual url we can only blindly try to offer you a solution. It could be a frame in an iframe, an ajax thing, an html fetching call from within a java applet.
-
UTF-8 is not Unicode.
.NET is mostly using Unicode if the encoding is not explicitly specified but the forms themselves are not saved in Unicode.
Socket communication and pretty much everything...
-
You have to give the sub a string to work with. Currently it has no idea what you mean by hashdata (in other words 'hashdata' is known only to the btnHash_Click sub => it has a very limited scope).
...
-
Yeah & every programming language with commands longer than 3 chars is an extra luxury for those who can't or won't learn assembly. Get real dude.
-
You have to know what the POST contains. Easiest is to use some packet sniffer, see what's being done by the browser then simulate it with code.
Clicking the G button however is not sending a...
-
Try with "InnerHtml" :cool:
You wait for everything to completely load first, right?
-
There is a way to zip/unzip files directly using J# (at least in 2005) but it may not be necessary. 160 mb total should transfer in under a minute if it is several large files. Did you already try...
-
Get yourself a Step-by-Step book from MS Press (e.g. Microsoft Visual Basic 2010 Step by Step).
Those are great since they explain all the basic syntax and you can skip whatever you already know....
-
Hashing, encryption etc. are complicated topics and it's mostly not worth learning much about them unless it's going to be a major part of your job. Also a small mistake in writing your own code may...
-
You can't directly. JS things are "programs" and the text you posted is source code. A browser executes that source code and sends the result back to the server. WebRequests and WebResponses are...
-
WebBrowser1.Document.Window.Frames returns an array containing all the frames of a web page. You can get the frame you are interested in by using its position in the array.
'see how...
-
You may start by not storing the password but some kind of hash thereof. When the user enters something, hash that as well and see whether the result matches the stored hash sequence. If it does, it...
-
I'd use a simple txt file in the app's folder. My.Settings is pretty much that only neither you nor your users know where exactly it is being saved. And it is in dfferent locations in different OSes;...
-
Where does this get you?
While WebBrowser1.ReadyState <> WebBrowserReadyState.Complete
Application.DoEvents()
Threading.Thread.Sleep(1000)...
-
An antivirus program, as useless as they mostly are, can considerably slow down moving and copying when the files are many and small. You could try zipping the files into one archive from code; or...
-
Do you actually get a "Not Responding" error or does your program simply hang waiting for a non existing page to load? If the latter, a second thread solution won't really help. You'd have a...
-
Each frame has its own 'Document':
WebBrowser1.Document.Window.Frames(1).Document.Body.OuterHtml
-
You are risking getting frustrated over this one. A program has no concept of a file on disk; it can only work with what's loaded in its memory. So you constantly having to take care of that with all...
-
Leave the password in the code but don't use it. In fact add an array of millions of passwords and call it OneOfMany. It will also make the exe more C++ish by being several hundred kilobytes large...
-
The question is what is considered idle. I don't think there is such a state for all kinds of processes that can be created on a PC.
Did you experiment with WaitForInputIdle?
If that fails I...
-
Well actually getting an error is considered a huge leap in evolution of programming languages. Before that time stuff just stopped responding. Or finished anyway and the user never knew if the...
-
Well what you get is by all means what is received by that CRViewer java thingy. Try asking on its developer's forum something like "hey i got this data that your program is presenting so neatly, how...
-
These things aren't complicated, it's just lots of simple stuff at one place. High level languages (I consdier c++ a high lvl lang too) hide too many basics.
In Wireshark each line is a packet. We...
|
Click Here to Expand Forum to Full Width
|