Winforms WebBrowser tell when done Refreshing
I have a page that refreshes every 20 seconds and I need to know when it is done refreshing, the DocumentCompleted event does not fire when you refresh for some reason. Any ideas? ...
I have a page that refreshes every 20 seconds and I need to know when it is done refreshing, the DocumentCompleted event does not fire when you refresh for some reason. Any ideas? ...
I'm used to the PHP fwrite/fread parameter orders, and i want to make them the same in C++ too. I want it to work with char and string types, and also any data type i put in it (only if length is defined). I am total noob on c++, this is what i made so far: Edit: fixed the std::string &buf size_t fwrite(FILE *fp, const std::string &bu...
I am developing a WPF application that will hook into a SQLLite database and I have a number of reservations around multiple users: When I install my application should I assume that each windows user account will mean only one user of my application or should I include a login for my app (drawback is that the user will have to log in ...
How do I include my custom resource files and be able to access them with the windows api? ...
I've written a game engine, which i want to integrate scripting into. However, i've looked at the available choices, which seem to be the following: Xnua Jint Managed Scripting The problems with those are (respectively): Built for XNA 1 -- there's an XNA 3.1 port but it's under the Apache license which i'm not sure is compatible wi...
Hi, I have a software written using Qt which is meant to work on both Windows and Linux. I use PNG images as icons for my QActions, embedded in a resource. I have the following tree directory: / resources/ icons.qrc image.png Here is the content of icons.qrc: <RCC> <qresource prefix="/resources" lang="fr"> <file al...
I have created a windows application setup program, it needs to have a text file in the application folder. The file is also included while creating the setup. Once the setup successfully completes and my program tries to modify the file based on user input, its simple throwing an exception. I am using Windows 7 Home Premium OS. Any s...
how can I put a INT type variable to a wchar array ? Thanks EDIT: Sorry for the short question. Yes we can cast INT to a WCHAR array using WCHAR*, but when we are retrieving back the result (WCHAR[] to INT), I just realize that we need to read size of 2 from WCHAR array since INT is 4 BYTEs which is equal to 2 WCHARs. WCHAR arData[20...
I got a new machine whose OS is windows XP professional x64 edition. Which version of Apache should I install? There doesn't seem to be a build for win 64, I can just see a build for win 32, will it work with win 64? ...
Hi, I need a batch file that writes the count number to a txt file. Next time the batch file is run, it should read the current count number from the txt file and add 1 to count and save this new value in the txt file. (nothing else is in the txt file) When count is >5 it should start from 1 again Example: Count.bat runs 1 time: coun...
Trying to set up LESS for css (see http://lesscss.org/index.html) on my Windows box, and I've installed ruby and rubygems and I've followed the instructions here (http://lesscss.org/docs) exactly. I have a file 'teststyle.less' in C:\ and in command when I type lessc teststyle.less to compile into a .css file, I get the error "The f...
I recently read Scott Chacon's post "Smart HTTP Transport", and I was hoping that it might have become possible via IIS (windows 7) since that post was written. I haven't been able to find anything showing how it can be done, and Apache is not an option in my IIS 7 based environment. So, I'm at a loss (git daemon was foiled for me by a c...
Can anyone please tell me if there is a way to find if a file is already open or not? ...
hello i have problem with receiving data from serial port in c# in am inserting a new line operator at the end of data buffer. then i send this data buffer on serial port, after this my c# GUI receiver will take this data via Readline() function but it always give me raw data not the actual one how to resolve this problem. //configuring...
I have received an e-mail from Flexera containing the following statement: "We understand that many of our customers still using InstallShield 12 maybe having difficulties sending installations to Windows 7 desktops, 64 Bit servers or R2 2008. Therefore we would like to provide this opportunity for you to erase these potential / curren...
I've got a .net solution (written in C++/CLI) which references some .dll projects as follows: MainProject->ProjectA->ProbjectB MainProject->ProjectB Originally I'd referenced both ProjectA and ProjectB from MainProject which gave me the warnings as mentioned above. I can remove the warnings by removing the reference to ProjectB from ...
Hi I need a solution which allows users to create a desktop shortcut to a website, preferably with website logo as shortcut icon. There are ways users can create shortcut such as drag drop favicon or right click > create new shortcut etc. This works but also creates the shortcut with default IE icon on windows. I am trying to avoid th...
I want to create a desktop manager that takes informations of all running applications including states and screenshots to display and manipulate them in my virtual space (probably in 3D). It can be considered as another layer of abstraction on top of Windows itself. Because many native Windows Vista/7 features like Flip 3D and Live Thu...
Does Qt use ClearType for rendering text (on Windows), and if so, what do I need to set to enable ClearType support? ...
Hello! I am currently on a project which has been buggy for a long while, now I suspect, among other things, that there is pointer errors in the code. The program is written in native C++ using COM and uses out-of-process COM servers. Can anybody give me some tips as how one would go about finding these errors? Is there specific th...