I am trying to execute a basic command to backup my database using the sqlcmd utility that comes with Sql Express 2005.
Unfortunately, my database name has a dash in it Database name is "SAMPLES-DATA". When I try to execute the following command, I get an error:
SQLCMD -S FILESERVER -E -Q...
Hi.
This should be a simple question, but I can't figure it out.
I have a dialog box with 2 edit boxes. Intially, edit box1 has focus. However, the user can press TAB, or use the mouse to focus on the 2nd edit box.
My question is, how can i determine when the 2nd edit box gets focus, or...
Hi.
I need to allow my users to have access to internet explorer, but only to access web pages from one specific IP address. They should not be able to view pages from any sites other than this one (which happens to be stored on a remote server).
How can I accomplish this?
I use one of the tables in my database as a log of user transactions.
I don't want table growing indefinitely large, so I was wondering if I can prespecify a way keeping the table fixed at say 100 rows. In other words, once the table is filled with the a 100 rows, the next inserted row will...
I got a problem with an sql statement:
In a table there is a field of type varchar. That field ,called datearrival, contains human readable dates such as "March 4th 2004" (no quotes).
I want to select all items for which the number of days between datearrival and the current date is > 50.
So...
Several months ago I foolishly named my SQL (actually MSDE) database "my-database". Over the last few months several applications which reference the database with this name have been created.
Now that the database has recently gone from "test" mode, to "production" mode, I want to start doing...
Forgive me as I am a total newbie when it comes to XML.
I want to obtain particular data (today's foreign exchange rate) from the following file residing in some remote webserver (see URL below)...
Hi.
This question might be somewhat unrelated, but I was wondering if it possible to connect to a remote instance of mysql running on the provider that hosts my website.
Basically, I want to be able to access the tables within my database, without having to use the phpMyAdmin web interface...
Hi. when my windows xp machine sits idle for 10 minutes or so, it goes back to the logon screen. To get back to my session, I just need to relogin again.
But I find this strange because I have disabled the screen saver from Desktop-->Properties.
How do i prevent the machine from...
Hi.
I have one dialog box window containing a button, which, once the user clicks on it, pops up another dialog box prompting the user for some input.
The code is (something) like this:
BOOL CALLBACK DlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
{
case WM_COMMAND...
Hi. I wanted to develop an application that has these two properties:
1. Full-Screen Mode: Application Window Occupies the full screen, so users are unaware of the bacground desktop environment.
2. No Close Button: I dont want my window to have the little 'X' on the top right corner of the...
Hi. I am trying to lockdown my WinXp computer, so users cannot fiddle around with anything. I have used gpedit.msc to configure a number of things I want.
However, I cannot seem to get rid of the "Printers and Faxes" Icon that appears on the Start menu. I do not want users...
Hi.
I need to setup a desktop computer system in a retail store. This system will be accessible to the general public (i.e. anyone can use it).
The purpose of this system is to allow users to access one single custom made database application that will run on Windows XP Pro persistantly 24...
Hi.
I wanted to make my listbox entries editable. For instance, I want users to be able to type "Ctl-C" on a listbox entry and have that current selection copied to the clipboard. I believe the listbox controls in WordPad.exe work this way.
What properties within the listbox need...
Hi.
I am writing a simple Win32 application (using C and win32 api) that is supposed to insert and delete records from an SQL database.
I have MSDE installed and working on my computer, but I do not know what are the function calls I need in order to connect to the database and create...
Hi.
I was wondering how to obtain a list of all files from a given directory, provided they match certain wildcard criterea.
Is there an API function that will return me an array populated with the list of matching files?
If not, how can I accomplish this? Basically, I want to obtain a...
Hi.
I work with an database application that uses MS SQL server (actually MSDE in my case) to manage records for its database. Like any other application, it has a GUI for users to enter transactions - the app then takes these transactions and translates them into SQL commands that are sent to...
Hi. I am having troubles getting Apache to work on WinXp.
The installation seemed to go o.k. I specified my computer's intranet address 192.168.1.101 as servername and domain name. Apache didnt complain, and it is running as a bacground service. However, I cannot access the Apache Welcome...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.