Click here to Skip to main content
15,894,313 members
Home / Discussions / C#
   

C#

 
GeneralRe: What cpu is my thread executing on? Pin
bradsnobar28-Jul-07 10:51
bradsnobar28-Jul-07 10:51 
GeneralRe: What cpu is my thread executing on? Pin
Paul Conrad28-Jul-07 12:38
professionalPaul Conrad28-Jul-07 12:38 
QuestionFile System Objects e.g. Drive list, Directory List etc. Pin
milkyway.andromeda28-Jul-07 9:19
milkyway.andromeda28-Jul-07 9:19 
AnswerRe: File System Objects e.g. Drive list, Directory List etc. Pin
Guffa28-Jul-07 11:47
Guffa28-Jul-07 11:47 
GeneralRe: File System Objects e.g. Drive list, Directory List etc. Pin
milkyway.andromeda28-Jul-07 18:26
milkyway.andromeda28-Jul-07 18:26 
AnswerRe: File System Objects e.g. Drive list, Directory List etc. Pin
MarkB77728-Jul-07 13:24
MarkB77728-Jul-07 13:24 
GeneralRe: File System Objects e.g. Drive list, Directory List etc. Pin
milkyway.andromeda28-Jul-07 18:29
milkyway.andromeda28-Jul-07 18:29 
QuestionProblem when I use the Windows Application in Windows Vista. Pin
Khoramdin28-Jul-07 8:54
Khoramdin28-Jul-07 8:54 
Hello everyone,

I have created an Windows Application using .NET Framework2 and everything works fine under WIndows XP Operating System. When I run the Windows Application under Windows Vista, there are some issue and it doesn't work as good as it should. The main problem comes from the part that the Windows Application needs to connect to a remote database and populate DataTable on the Windows Application with data from remote database.

This is the code that I am using to populate the DataTable by data from remote database after the connection has been stablished.

	    // Select MyDatabaseName<br />
            OdbcCom = new System.Data.Odbc.OdbcCommand("USE MyDatabaseName;", OdbcCon);<br />
            OdbcCom.ExecuteNonQuery();<br />
            <br />
            // Create a mysql DataAdapter<br />
            OdbcAd = new System.Data.Odbc.OdbcDataAdapter("SELECT * FROM " + MyTableName + ";", OdbcCon);<br />
<br />
            // Create a dataset<br />
            myds = new DataSet();<br />
<br />
            // Now fill and bind the DataGrid<br />
            OdbcAd.Fill(myds, MyTableName);<br />
<br />
            // Create a datatable<br />
            myTable = new DataTable();<br />
<br />
            // Now fill in data into myTable<br />
            myTable = myds.Tables[MyTableName];



I was wondering if anyone have faced the same problem or if anyone knows anything about it.

Thank you very much and have a great day.

Khoramdin
AnswerRe: Problem when I use the Windows Application in Windows Vista. Pin
Drehmer28-Jul-07 9:54
Drehmer28-Jul-07 9:54 
QuestionSpaces in a String object Pin
ytubis28-Jul-07 8:47
ytubis28-Jul-07 8:47 
AnswerRe: Spaces in a String object Pin
originSH28-Jul-07 9:25
originSH28-Jul-07 9:25 
GeneralRe: Spaces in a String object Pin
ytubis29-Jul-07 7:36
ytubis29-Jul-07 7:36 
GeneralRe: Spaces in a String object Pin
originSH29-Jul-07 22:37
originSH29-Jul-07 22:37 
GeneralRe: Spaces in a String object Pin
ytubis30-Jul-07 2:18
ytubis30-Jul-07 2:18 
AnswerRe: Spaces in a String object Pin
Muammar©28-Jul-07 21:23
Muammar©28-Jul-07 21:23 
GeneralRe: Spaces in a String object Pin
ytubis29-Jul-07 7:35
ytubis29-Jul-07 7:35 
GeneralRe: Spaces in a String objectme Pin
Martin#29-Jul-07 8:25
Martin#29-Jul-07 8:25 
GeneralRe: Spaces in a String objectme Pin
Ak Hon29-Jul-07 17:54
Ak Hon29-Jul-07 17:54 
Questionc# Pin
tasumisra28-Jul-07 6:12
tasumisra28-Jul-07 6:12 
AnswerRe: c# Pin
Paul Conrad28-Jul-07 6:28
professionalPaul Conrad28-Jul-07 6:28 
GeneralRe: c# Pin
tasumisra28-Jul-07 6:31
tasumisra28-Jul-07 6:31 
GeneralRe: c# Pin
Paul Conrad28-Jul-07 6:41
professionalPaul Conrad28-Jul-07 6:41 
GeneralRe: c# Pin
Paul Conrad28-Jul-07 6:43
professionalPaul Conrad28-Jul-07 6:43 
GeneralRe: c# Pin
Colin Angus Mackay28-Jul-07 7:19
Colin Angus Mackay28-Jul-07 7:19 
GeneralRe: c# Pin
WillemM28-Jul-07 8:13
WillemM28-Jul-07 8:13 

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.