Click here to Skip to main content
15,889,808 members
Home / Discussions / C#
   

C#

 
GeneralRe: Grid Pin
Roger Alsing3-Sep-03 20:53
Roger Alsing3-Sep-03 20:53 
GeneralDataSet, DataRows etc. Pin
deanoA2-Sep-03 20:03
deanoA2-Sep-03 20:03 
GeneralRe: DataSet, DataRows etc. Pin
Mazdak2-Sep-03 20:13
Mazdak2-Sep-03 20:13 
GeneralRe: DataSet, DataRows etc. Pin
A.Wegierski2-Sep-03 20:14
A.Wegierski2-Sep-03 20:14 
GeneralRe: DataSet, DataRows etc. Pin
Mazdak2-Sep-03 20:20
Mazdak2-Sep-03 20:20 
GeneralRe: DataSet, DataRows etc. Pin
A.Wegierski3-Sep-03 19:28
A.Wegierski3-Sep-03 19:28 
QuestionHow to loop through a currencyManager Pin
Ista2-Sep-03 16:58
Ista2-Sep-03 16:58 
GeneralOverriding DataGrid::OnPaint Pin
Ista2-Sep-03 16:57
Ista2-Sep-03 16:57 
GeneralRe: Overriding DataGrid::OnPaint Pin
A.Wegierski3-Sep-03 19:41
A.Wegierski3-Sep-03 19:41 
GeneralRe: Overriding DataGrid::OnPaint Pin
Ista4-Sep-03 3:18
Ista4-Sep-03 3:18 
GeneralNetwork Management Tools (NMT) Pin
loveprogramming2-Sep-03 16:39
loveprogramming2-Sep-03 16:39 
Questionun-editable combobox? Pin
zecodela2-Sep-03 16:29
zecodela2-Sep-03 16:29 
AnswerRe: un-editable combobox? Pin
Ista2-Sep-03 16:47
Ista2-Sep-03 16:47 
GeneralGetting the project's/executable's root path Pin
tsigo2-Sep-03 15:04
tsigo2-Sep-03 15:04 
GeneralRe: Getting the project's/executable's root path Pin
David Stone2-Sep-03 15:17
sitebuilderDavid Stone2-Sep-03 15:17 
GeneralRe: Getting the project's/executable's root path Pin
tsigo2-Sep-03 15:26
tsigo2-Sep-03 15:26 
GeneralConnection to network shares Pin
Trojan2K2-Sep-03 13:09
Trojan2K2-Sep-03 13:09 
Hi All,

I dunno if I'm being blind or a bit stupid, but this problem is bugging me now Smile | :)

Im trying to connect to a share on a server on a different domain, I know that if the user logged
on and running program has credentials for this share then it works easily simply using Directory and File from System.IO,

However I cant give the users access to the server itself so I need the program to control its own access by specifying the un/pw/domain name at time of connection , I thought this owuld be easy considering that the Framework is by definition geared towards internetworking , but I guess I may be wrong !

I can make the connection Ok if I call the 'net use' command from a diagnostics process, but I dont like this, because of timing and the potential security risk, IE if the program crashes then the user will have access to the particular network share through my computer.

THe other way I know of, is to wrap the functions of MPR.DLL and simply use WNET to make and destroy my connections ... this works fine but doesn't seem like the best solution ...

Anybody have any ideas or indeed the correct way of doing this ?

Thanks very much.
GeneralRe: Connection to network shares Pin
Mazdak2-Sep-03 20:18
Mazdak2-Sep-03 20:18 
GeneralSQLDMO Pin
yyf2-Sep-03 12:18
yyf2-Sep-03 12:18 
QuestionHow I can position a form? Pin
yyf2-Sep-03 11:19
yyf2-Sep-03 11:19 
AnswerRe: How I can position a form? Pin
yyf2-Sep-03 11:31
yyf2-Sep-03 11:31 
GeneralDatabindings Pin
yyf2-Sep-03 10:44
yyf2-Sep-03 10:44 
GeneralRe: Databindings Pin
Gilles B.2-Sep-03 12:41
sussGilles B.2-Sep-03 12:41 
GeneralRe: Databindings Pin
yyf2-Sep-03 12:59
yyf2-Sep-03 12:59 
GeneralRe: Databindings Pin
Ista2-Sep-03 16:54
Ista2-Sep-03 16:54 

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.