Click here to Skip to main content
16,015,177 members
Home / Discussions / Database
   

Database

 
GeneralRe: Sql server 2000 reporting service cannot install Pin
Mekong River1-Nov-04 15:58
Mekong River1-Nov-04 15:58 
GeneralDTS - copying table data Pin
shahar rr r31-Oct-04 4:43
shahar rr r31-Oct-04 4:43 
GeneralRe: DTS - copying table data Pin
Jon Hulatt1-Nov-04 0:26
Jon Hulatt1-Nov-04 0:26 
GeneralRe: DTS - copying table data Pin
shahar rr r2-Nov-04 1:33
shahar rr r2-Nov-04 1:33 
GeneralMSDE2000A.EXE Failes because of SQLREDIS.EXE Pin
Blake V. Miller30-Oct-04 9:30
Blake V. Miller30-Oct-04 9:30 
GeneralRe: MSDE2000A.EXE Failes because of SQLREDIS.EXE Pin
Mike Dimmick1-Nov-04 2:53
Mike Dimmick1-Nov-04 2:53 
GeneralRe: MSDE2000A.EXE Failes because of SQLREDIS.EXE Pin
Blake Miller2-Nov-04 8:21
Blake Miller2-Nov-04 8:21 
GeneralRe: MSDE2000A.EXE Failes because of SQLREDIS.EXE Pin
Blake V. Miller25-Jan-05 18:23
Blake V. Miller25-Jan-05 18:23 
Here is the solution for calling it from Visual C++...
Might help someone else out there...Sigh | :sigh:

	// Call Desktop Engine Setup.exe to install Desktop Engine<br />
	bSuccess = CreateProcess(<br />
		szSetupFilePath,<br />
		szCommandLine,<br />
		NULL,			// lpProcessAttributes<br />
		NULL,			// lpThreadAttributes<br />
		FALSE,			// do not inherit our handles<br />
		NORMAL_PRIORITY_CLASS,<br />
		NULL,			// Environment<br />
		NULL,			// current directory<br />
		&startinfo,<br />
		&procinfo<br />
		);<br />
<br />
	if( !bSuccess ){<br />
		m_ErrorWindows = ::GetLastError();<br />
		TRACE("MSDE Setup.Exe CreateProcess Error Code = %lu\r\n", m_ErrorWindows);<br />
		goto FuncExit;<br />
	}<br />
<br />
	// must use duplicated handle because the jacked up Microsoft setup will hang on the<br />
	// SQL tools setup if you are waiting on the handle returned by CreateProcess<br />
	hProcess = OpenProcess(SYNCHRONIZE|PROCESS_QUERY_INFORMATION, FALSE, procinfo.dwProcessId);<br />
<br />
	// so close theswe two handes so the jacked up Microsoft setup will not get hung<br />
	CloseHandle(procinfo.hProcess);<br />
	procinfo.hProcess = 0;<br />
	::CloseHandle(procinfo.hThread);<br />
	procinfo.hThread  = 0;<br />
<br />
	// wait several minutes for process to exit<br />
	// on my system, this only takes about 15 seconds or less<br />
	// 10 * (60 seconds per minute) * (1000 milliseconds per second)<br />
	dwWaitResult = ::WaitForSingleObject(hProcess, 10 * 60 * 1000);<br />
	TRACE("MSDE Setup.Exe Wait Result Code = %lu\r\n", dwWaitResult);<br />
<br />
	::GetExitCodeProcess(hProcess, &m_MsdeExitCode);<br />
	TRACE("MSDE Setup.Exe Exit Code = %lu\r\n", m_MsdeExitCode);

GeneralPerformance solution for DataSet application with large numbers of records Pin
Aron van Ammers30-Oct-04 6:49
Aron van Ammers30-Oct-04 6:49 
Generalmoney datatype insert problem Pin
webhay29-Oct-04 14:07
webhay29-Oct-04 14:07 
GeneralRe: money datatype insert problem Pin
Aron van Ammers30-Oct-04 6:55
Aron van Ammers30-Oct-04 6:55 
GeneralAccessing DB2 using ADO.Net, C# Pin
shri300928-Oct-04 20:42
shri300928-Oct-04 20:42 
GeneralRe: Accessing DB2 using ADO.Net, C# Pin
28-Oct-04 22:11
suss28-Oct-04 22:11 
Generalupdate dataset with changes in database Pin
CNU28-Oct-04 16:19
CNU28-Oct-04 16:19 
GeneralNo value given for ine or more given requirements Pin
jlawren728-Oct-04 14:56
jlawren728-Oct-04 14:56 
GeneralRe: No value given for ine or more given requirements Pin
Edbert P28-Oct-04 21:21
Edbert P28-Oct-04 21:21 
Generalhelp with SQL output Pin
naifq228-Oct-04 10:48
naifq228-Oct-04 10:48 
GeneralRe: help with SQL output Pin
Christian Graus28-Oct-04 11:34
protectorChristian Graus28-Oct-04 11:34 
GeneralRe: help with SQL output Pin
Anonymous28-Oct-04 11:41
Anonymous28-Oct-04 11:41 
GeneralRe: help with SQL output Pin
Christian Graus28-Oct-04 11:52
protectorChristian Graus28-Oct-04 11:52 
GeneralRe: help with SQL output Pin
naifq228-Oct-04 13:01
naifq228-Oct-04 13:01 
Generalhelp with SQL query Pin
naifq228-Oct-04 10:44
naifq228-Oct-04 10:44 
GeneralRe: help with SQL query Pin
Anonymous28-Oct-04 13:54
Anonymous28-Oct-04 13:54 
GeneralSQL Server Transaction vs ADO.Net Transaction Pin
Ketty Avashia28-Oct-04 5:24
Ketty Avashia28-Oct-04 5:24 
Generala general question regrding SQL and IP address Pin
hasanali0028-Oct-04 5:14
hasanali0028-Oct-04 5:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.