715 Topics
![]() | |
**Modifications Required for VB6 Applications to Work on Vista/7** Thanks to Hassan Basri in VBForums **Application Changes** - Remove SendKeys calls and replace them with API code. - Use the HKEY_CURRENT_USER in the registry for the settings of your application. - Do not write to HKEY_LOCAL_MACHINE. - If you are … | |
Wouldn't it be nice to have a sizable command button in VB6? Face it. In the hidden recesses of your mind you have always wanted to be able to resize that command button in VB6--after the program is running that is. It's just that VB6 has not provided you with … | |
# Introduction # A recurring problem many newcomers face when tackling C++ is the compilation process, from sources to binaries. This tutorial will detail that process. It will be especially useful for people only familiar with higher-level languages (if any), but veterans of one or more native languages (C, Fortran, … | |
Hi, hoping someone might be able to help me with a possible infection. A few months ago, I started to notice some mouse lagging whenever I started chrome. I didn't think anything of it at the time because I usually start chrome with 5 tabs and 5 extensions, and figured … Information Security api app-store audio chrome-os data-protection dns google-api home-theater http-protocol microsoft-access microsoft-office microsoft-windows os-x pci-card pdf peer-to-peer printer sharepoint storage user-interface vbscript video-card visual-studio window-manager windows-api windows-virus windows-vista | |
Hello, I need an SMS gateway like [Ozeki NG](http://ozekisms.com/). I am testing it right now, but before investing in a commercial product I would like to map the free alternatives. [Kannel](http://www.kannel.org/) was recommended for me, but Kannel is Linux-based that makes the congifiguration more difficult. Do you know any good … | |
Hello, I thread hijacked earlier today... probably shouldn't have, sorry if that annoyed anyone. Anyway I have an issue using LookupAccountSid in a visual studio 2013 project running on Windows 7 Pro x64. First of all, it works perfectly in debug, but doesn't work when built for release. What I … | |
Using the Python win32 extensions it is relatively simple to copy to and from the clipboard. Sorry. the Windows OS is a requirement. | |
Apologies for such a vage title, but I seriously don't know where the two issues I have are related to. My JavaScript/jQuery skill is on a noob level, so bare with me please :) I'm working on a AJAX/HTML5 History website which is a pet project of mine. It will … | |
can anyone suggest me a good English Dictionary API for C# windows forms application. I tried using "NHunspell" but i found it very difficult to use ? Please Help !!!!!!!!!!!!! | |
Hello, I am getting a weird error when i try to run this array: //leafly api keys $appID ='Blah'; $appKEY = 'blah'; //init curl $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://data.leafly.com/strains/".strtolower($data)); //change the strain dynamically of course for your app curl_setopt($ch,CURLOPT_HTTPHEADER,array('APP_ID:'.$appID,'APP_KEY:'.$appKEY)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); //Clean it into an … | |
Hello it seems like my IExplorer has been hijacked. I use Firefox for my browsing. My computer was running slow so i check Task manager and saw that Iexplorer was running in processes but not applications. Also noticed it mutiple IE processes running at same time. I end them but … | |
hello, im developing a mass mailing application in php...in lot places i see like post to this address... lik this one.. To upload your attachment do a HTTP PUT of your attachment file to: https://api.elasticemail.com/attachments/upload?username=yourusername&api_key=yourapikey&file=test.csv and Step 3) Call mailer send with the datasource value set: To use the send … | |
Hello everyone, So I have a quick question. Back when there was something written by BoFen and it was called codegenie and I have a copy of it and i've been using it with some success. What I'd like to know is are there any good api spies that generate … | |
Hi All, Can you please let me know what these two functions do ? I would want to know for what purpose they are being used? Kindly help Harish //CallBack function for EnumChildWindows API call from SetOS2CursorForWindows BOOL CALLBACK EnumESLChildWindowsCallback(HWND hWnd,LPARAM lParam) { //CGI_CONV_OS2WIN_START //Function body modified according to keep … | |
OK so I'm using the function SetDlgItemText() to change the text in a static text control of my window. Problem is, when it updates from a longer string to a shorter string ("Sup Y'all" -> "Hi"), the previous, longer string persists leaving "Hip Y'all". However, remaining bit of the old … | |
I was wondering something, I know that on windows you can't interact directly with the hardware, you have to use the system API. Now in Linux in the other hand, it looks to me if this can actually be done, or am I wrong? The thing reason why I say … | |
Hi, All last year i posted for solution to programatically retrieving I Q data from USB Tv Tuner (Gadmei UTV382 USB TV BOX) for implementation of SDR. Since then no reply was received that could solve the problem. Some detail of the device, it has 1. XCEIW XC4100ACQ tuner 2. … | |
It's been a long while since I've been here. I am trying to use Win32 IEAutomation to automate IE to login to SharePoint, read some information, download some files and some other junk. I installed WIN32 IEAutomation. When I run the simple script: use Win32::IEAutomation; my $ie = Win32::IEAutomation->new( visible … | |
Hi I need to show coordinates from the map in the text box below. Can you make the code showing the latitude and longitude onmouseclick? I will be very grateful. <html> <head> <title>OpenLayers Example</title> <script src="http://openlayers.org/api/OpenLayers.js"></script> <script src="http://maps.google.com/maps/api/js?v=3&sensor=false"></script> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> </head> <body> <div id = "container" style = … | |
I have my outlook mailboxes in this structure mailbox1 -Inbox Mailbox2 -Inbox Current script is able to access Inbox of mailbox1 as it is my main mail box where as mailbox2 has been added into my profile. I want to be able to access Inbox of Mailbox2 import win32com.client import … | |
Hi Everyone, Wanted to share a bit on this subject as I've had to recently make some of these changes. Along my way I found a few sites that basically suggested moving all mailboxes off the database, dismount, delete and create a new database. Simple enough, however I didn't want … | |
Hi, I want to send back reply to the same email but with different email account. Here is my script mail = outlook.Session.GetItemFromID(ID) subject = mail.Subject if mail: message_reply = mail.Reply() message_reply.From='_from_email' #not working message_reply.Body = "THE FOLLOWING TASK HAS BEEN MARKED AS COMPLETED: \n\n" message_reply.CC= '_CC_Email' message_reply.Send() I tried … | |
Hi guys, I have some C# code in my Powershell script and in that code I have a global variable. How can I access my variable from the powershell code ? $source = @' using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; … | |
Hello, I have a `HWND` for a window. I have double checked that it is a 100% valid window by using `SetActiveWindow()`, `SetFocus()`, and `SetForegroundWindow()` on it, successfully bringing it to the frontmost window. However whenever I try to use `GetPixel` on it it returns -1 (0xFFFFFFFF). What am I … | |
I am wrapping the Windows API CreateProcess. Here is my code. int __stdcall _Execute(LPTSTR program, LPTSTR workingdir, WORD show){ // Check if program has content if (!program || !*program){ MessageBox(NULL, L"You must provide path to executable", L"Error", MB_OK); return 0; } // Create buffers and copy program param to szCmd … | |
Hey, DaniWeb! I need your opinions. I'm looking to expand my skillset, particularly in the Windows department. On a scale of "Eh, maybe later" to "Do it! Do it now!" what is your opinion on the importance of learning PowerShell as opposed to another life skill like Haskell, Mandarin Chinese, … | |
Hello gurus: I saw the discussion related on working with words with python which is: import win32com.client wordapp = win32com.client.Dispatch("Word.Application") # Create new Word Object wordapp.Visible = 0 # Word Application should`t be visible worddoc = wordapp.Documents.Add() # Create new Document Object worddoc.PageSetup.Orientation = 1 # Make some Setup to … | |
Hello, I am new to phonegap.I have used web API in my code but it's giving "error O"(android emulator on windows).What i shuld do now?? How to rectify the problem??thanks in advance | |
Hello; I got some kind of infection or something last week, which caused my virus software not to update, and finally my computer to totally crash and would not reboot. I successfully recovered my system from an image (it was one level up of messy from actual system restore - … | |
So, I've found this code somewhere on the net (don't remember) and I'm trying to embed it into my site, just in case some of the visitors would need to use it. It creates short URLs (from 4 services) of a particular address. What I don't understand, and I hope … | |
Creating WinAPI windows and controls can be a pain and quite difficult/annoying at times. Most of the time, I find myself searching MSDN, DaniWeb, and StackOverflow. I hate having to use external libraries unless I absolutely have no other choice. Below contains code for creating WinAPI windows, Controls, Sub-Classing, and … | |
1)On receipt of the signed MSA back from the customer, the original should be sent to the legal representative and a controlled copy should be sent to the TM/Account Manager by ___________. B D M DM 2)Runtime Profiling is used by which category of users? Developers and System Administrators Configuration … | |
Hi all, i read that the .net framework is a wrapper around the win32 api. can someone please clarify the following for me: 1.if .net is a wrapper around win32 api it means we are able to do everything with .net that we used to do with win32 api. then … | |
see my windows procedure: LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { bool blnMouseEnter=false; switch(msg) { case WM_CLOSE: DestroyWindow(hwnd); break; case WM_KEYUP: if (wParam ==VK_ESCAPE) DestroyWindow(hwnd); else { char strDataToSend[32]; sprintf(strDataToSend, "%c", wParam); MessageBox(NULL,strDataToSend, "keyselected",MB_OK); } break; case WM_MOUSEMOVE: SetWindowText(hwnd,"hi"); break; case WM_MOUSELEAVE://is ignored :( SetWindowText(hwnd,"bye"); break; … | |
I have googled all around and can't seem to find a proper library that performs OCR functionalities ported for Windows Phone. I have tried my luck with EMGU CV on the phone but it did not execute due to runtime conflict. Project Hawaii works fine so far but I would … | |
![]() | I'm trying to do the following: 1. get username typed into the userField 2. make a SEARCH mysql_query with the username as a variable I'm having a hard time getting past phase 2 since mysql_query takes a const char* as the query string, and I can only get username as … |
Hey everyone, I am working on a win32 project right now and I have a few buttons that I wanted to change how they look so I gave them the BS_OWNERDRAW property and drew them myself. Now sense I am using ownerdraw there is no visual indication of when someoone … | |
can anyone explain to me what is: 'T', 'L', 'wchar_t', 'LPCWSTR' and 'LPCTSTR'? how can i convert strings\char* to these types? (i understand these isn't a tutorial, but i realy need these introdution) or you can give me just a nice link. | |
I'm currently pulling out information from column B in an Excel worksheet + the worksheet name. How would I go about pulling information from column J (which has the same start row/end row as the information pulled out from column B) in the same worksheet and assigning it to the … | |
Hello, I have some php code that calls my server via a api, this code can create a new user on my server, what i need is a signup form so uses can enter information and creat the user and after the users has been made it will send a … | |
How to know the name of process in the other process? or who started that process. | |
In my program the commands are on left hand side , I want to move thses buttons to middle of window on click of mouse. I wrote this code n=but buttons are disappearing. Any solution case WM_LBUTTONDOWN: RECT buttonScreenRect; GetWindowRect(hButton, &buttonScreenRect); POINT buttonClientPoint; //buttonClientPoint.x = hButton.left; buttonClientPoint.x = buttonScreenRect.left; buttonClientPoint.y … | |
How to create a rubber banding line using the left-mouse button in win 32? | |
Write a minimal terminal emulator which will basically just transmit all characters typed on the keyboard to the serial port and display all characters received via the serial port. Include a set of menu items that will allow a user to: Select, modify or set the communication parameters such … | |
I want to create two textboxes on my window. I used this code case WM_CREATE: hwnd = CreateWindowEx(WS_EX_CLIENTEDGE, TEXT("edit"), TEXT("sending"), WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_BORDER | ES_LEFT, 15, 15, 200, 300, hwnd, NULL, NULL, NULL); hwnd = CreateWindowEx(WS_EX_CLIENTEDGE, TEXT("edit"), TEXT("Receiving"), WS_CHILD | WS_VISIBLE | WS_BORDER, 220, 15, 100, … | |
`The task is to create a client that simulates the so-called IPN messages from PayPal, and to create a server application in MVC that handles these messages. How the message will look like you have an example below. The client can be anything, but perhaps the easiest Windows Forms or … | |
Hi, I am trying to create an application which utilizes the distance finder. I want to be able to calculate the distance between two points. I have managed to (with the aid of a lot of tutorials) be able to calculate the distances between two points. Now, in the application, … | |
Hey everyone. I am working on learning how to make some different controls with win32 and at the moment I amt trying to make a combobox with small images next to each option. However when I run my code the options are there but the images are missing. Can anyone … | |
I recently tried compiling an example linked at Mongoose project's website using code::blocks and got certain errors. As I do not know where I went wrong I will list everything that I did in the process. 1. Created a new C++ console application project in Code::Blocks for Windows 2. Copy … | |
Hi there, Recently I've started using a client called Tribot which allows me to automate playing a game. The Client has been crashing (for example I was running 8 clients simultaniously last night) and one by one, they crashed over time and produced there error logs in the start-up directory … |
The End.