1,765 Topics
| |
I am currently running Windows Vista Servicepack1 amd I am using C-Free4.1 compiler. plz check the C code...[CODE] # include <stdio.h> # include <windows.h> # include <winreg.h> main() { HKEY hkey; RegOpenKeyExA(HKEY_LOCAL_MACHINE,"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",0,KEY_ALL_ACCESS,&hkey); RegSetValueExA(HKEY_LOCAL_MACHINE,"Testing",0,REG_SZ,"HELLO",5) ; RegCloseKey(HKEY_LOCAL_MACHINE); } [/CODE] Plz help me with this code or suggest me some good codes in … | |
Hi all. I'm trying to develop a Winsock program in C. I can already compile the program correctly but I don't get any output when I run it. I don't know how to exactly use the WSAStringToAddressA function so I think it's the root of my problem. I'm using this … | |
Hello DaniWeb Software Developers :D I have a problem which exceed my programing capabilities and i need your help! Problem: I am somewhat new to c++ and i have been making some useful console applications in windows GUI visual Express. I thought i would give building in Linux a try … | |
I am trying to create 2 different rendering windows using OpenGL. My code looks like: [CODE]void display1(){...} void display2(){...} void init(){... //some declarations and function calls pertaining to display2} int main(){ glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB); glutInitWindowSize(1024,512); glutInitWindowPosition(0, 0); glutCreateWindow("Window 1"); glutDisplayFunc(display1); glutPositionWindow(520,20); glutCreateWindow("Window 2"); init(); glutDisplayFunc(display2); glutMainLoop(); return 0; }[/CODE] The … | |
Hi, I normally only use Linux (Ubuntu) for software development, but I want to test an app on Windows with IE before I make it live. I have Windows 7 Ultimate installed, as well as Python 2.7 and Django 1.2.3 I appended C:\Python27\Scripts to my PATH, and .py to PATHEXT. … | |
Hello all. Can anyone here help me create a separate function for the socket() API in socket programming? I successfully created one in Linux before but so far I can't do the same in Windows. The Windows version can't successfully connect using the separate socket() function. My primary suspect is … | |
Hi all.. I have made a database in Mcrosoft Access 2007. In my Database there are four tables. ORDER, ORDER DETAILS, CUSTOMER & ITEM. I have made order and order details combine form from Form Wizards. When flling the form of any order when i give the Item_id in the … | |
Hi everyone. I'm trying to export my C program that used MySQL from Linux to WindowsXP and to make the exportation simpler, I'm thinking of downloading Cygwin. May I ask if I still need to download anything to help me use MySQL in Cygwin? Links to download sites and/or tutorials … | |
hi there, i have a question in giving access to separate table to users. i have a database call Admin and in that there are some tables that the one user should not aloowed in viewing, how can i restric that user in avoing looking at that table i am … | |
Last week, Microsoft released a set of tools for developing software for the new Windows Phone 7 using Visual Basic. In order to use the tools, you have to have Visual Studio 2010 Professional or better (right now the Express versions don't work, although I've heard that will change). But … | |
Hi everyone! I'm transferring my C program that I created from Linux to WindowsXP. I would like to know what I need to download/install in Windows in order to compile and successfully run the program? Also, will I need to change some parts of the source code? I used socket … | |
I was looking for a way to Start / Stop Windows Services residing in a remote machine using C# code, and found the following code sample. It works fine for me. It is coded using Impersonation Technique, which apparently requires both the machines (let's say A and B) have a … | |
I've been having problems with web browsing that I think may be related to Javascript. I use forum sites like [url]www.ernya.com[/url] and there I get logged out every few minutes/seconds. I've found that clearing my cache regularly seems to help a little, but it doesn't fix the problem. Other forum/avatar … | |
Hi everybody, this text turned out to be rather long and maybe not so clear, please excuse me. I'm currently using the winsock library to send and receive data in an application made with WinAPI, I'm not using MFC. I'm using asynchronous sockets (I think that's what it's called) which … | |
This may seems noobish but 3 questions I absolutely cannot figure out. I'm not sure how relevant it is but I'm using Microsoft Visual C# 2010 Express. 1) How do I have a button, within a form, load another form within the same program. 2) How do you do the … | |
First some background on what I'm working on. I have a particular service (Windows only) running on my computer, which is built using C#. Other than Control Panel > Management Tools > Services, I can also use C# programming to Start/Stop/Restart the said service. I use ServiceController class in System.ServiceProcess … | |
Hey guys, it is possible to program a speech recognition in C++ without the Microsoft Speech SDK? | |
Hi there, How can I write a stored procedure to select a value from a table and return that value?? I have a table Employee, when I send the email as a parameter to the stored procedure, I should get the employee number (it should return the employee number) I … | |
While perusing Facebook, my avast anti-virus blocked a Win32 Alureon virus. Firefox crashed then computer went to blue screen with some words at top (don't remember what it said). No control. Disconnected power. Turned computer back on, computer starts, shows bios screen with F2 and F12 only, then goes to … | |
Hi,I want to copy a few files to the Windows\winsxs folder ,but in windows vista/7 you cannot write files to that folder, apparently there is a user called "TrustedInstaller" only that user has write access to the folder. TrustedInstaller > Administrator. I tried to use "runas" for my process but … | |
Hey, I'm making a password program for my programming class. If the user doesn't get the password correct in 10 tries, then it says "Your hard drive is erased". (Obviously, it isn't erased). I've been looking for a code to end all programs running and close down everything and can't … | |
Since __uuidof is a C++ only operator, how would I retrieve the GUID of an object in C? | |
[ATTACH=RIGHT]16929[/ATTACH]In a blog posting August 26, Microsoft announced that it is revising the licensing terms of its Security Development Lifecycle, moving parts of it to a Creative Commons license. Security Development Lifecycle is a methodology that Microsoft developed that incorporates best security practices at every level of the development lifecycle … | |
Anybody knows if this trial is still available for download somewhere ? I need to test something on an older XP installation, and the 2008 trial needs 2003 server to run. | |
Hi! I have simple web application called App that is secured with Windows Authentication. I have set identity impersonate to true in web.config. There is only one page (Default.aspx) in App directory. When user enters the site ex.: [url]http://localhost/App[/url] the login window pops up. When user clicks Cancel, IIS redirects … | |
Hello. I've got a problem that I haven't been able to solve after a long time searching. It's a simple problem. I have two forms. 1) Form1 2) Form2 I need to get from Form1 to Form2 and vice versa. I can get from Form1 to Form2 easily, but I … | |
Hello to all, I am always mad about this problem. If I type a name with two words in a textbox like "google corporation" it will be registered in the database ms access as "Google Corporation" now that is okay. What I want is, there should be no duplicate of … | |
So now we know that Microsoft is pushing out the release version of the latest in the operating system line-up, Windows 7, starting this week on the 30th April [URL="http://www.daniweb.com/blogs/entry4283.html"]according to official sources[/URL]. However, we also know from various news reports that many existing Windows users are not exactly head … | |
So I made a few tutorial applications and understand the most basic Python concepts and I'm well on my way to become a Python addict, only one thing is standing between me and the road ahead. I'm trying to make my first "useful" Python application - a program that allows … |
The End.