Click here to Skip to main content
16,003,462 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Visual Studio 2008 Service Pack 1 Pin
Ejrr108513-Nov-09 10:08
Ejrr108513-Nov-09 10:08 
GeneralRe: Visual Studio 2008 Service Pack 1 Pin
Ejrr108517-Nov-09 9:59
Ejrr108517-Nov-09 9:59 
QuestionHaving issue while compiling the following code using .Net version 2.0, Please help! Pin
thecodeprojectPankaj9-Nov-09 4:05
thecodeprojectPankaj9-Nov-09 4:05 
AnswerRe: Having issue while compiling the following code using .Net version 2.0, Please help! Pin
Pete O'Hanlon9-Nov-09 4:40
mvePete O'Hanlon9-Nov-09 4:40 
GeneralRe: Having issue while compiling the following code using .Net version 2.0, Please help! Pin
thecodeprojectPankaj9-Nov-09 4:58
thecodeprojectPankaj9-Nov-09 4:58 
QuestionClientServer app worked under XP but not Windows 7 Pin
Nigel Mackay9-Nov-09 2:42
Nigel Mackay9-Nov-09 2:42 
AnswerRe: ClientServer app worked under XP but not Windows 7 Pin
Shameel9-Nov-09 2:46
professionalShameel9-Nov-09 2:46 
GeneralRe: ClientServer app worked under XP but not Windows 7 Pin
Nigel Mackay9-Nov-09 3:07
Nigel Mackay9-Nov-09 3:07 
Not clued up on terminology, so will give examples.
The first step that the app does is collect the username and logon, and then check if they are in the database.
I am using interfaces to the server-side code, and the server creates instances of the code like this
UserList insUserList = UserList.Instance;
ObjRef refUserList = RemotingServices.Marshal(insUserList, "UserList");

The client does a call like this
private IUserList rmUserList;
rmUserList = (IUserList)Activator.GetObject
             (typeof(IUserList),
             System.Configuration.ConfigurationManager.AppSettings["UserListUrl"]);
logonReturnValue = rmAllUserList.Logon(PasswordString);

UserListUrl is tcp://localhost:50050/UserList
On the server side it does (through calls to a pool of common routines, also on the server.
cnStr = "Data Source='NIGEL-PC\\SQLEXPRESS';" +
        "Trusted_Connection=true;" +
        "Database=timesheet";
cn = new SqlConnection(cnStr);
cmd = new SqlCommand("", cn);
da = new SqlDataAdapter();
cmd.CommandText = "SELECT Password " +
                  "FROM UserList " +
                  "WHERE UserID = 12 ";
da.SelectCommand = cmd;
tmpDS = new DataSet();
da.Fill(tmpDS, "Data");

If I run the above code snippet in ClientLogon it works. If I allow it to do the remote call, it hangs.
GeneralRe: ClientServer app worked under XP but not Windows 7 Pin
Nigel Mackay9-Nov-09 5:11
Nigel Mackay9-Nov-09 5:11 
GeneralRe: ClientServer app worked under XP but not Windows 7 Pin
Nigel Mackay12-Nov-09 17:31
Nigel Mackay12-Nov-09 17:31 
Questionabout unable to connect to visual studio local host web server Pin
abolibapat78-Nov-09 19:35
abolibapat78-Nov-09 19:35 
AnswerRe: about unable to connect to visual studio local host web server Pin
Oakman10-Nov-09 14:39
Oakman10-Nov-09 14:39 
QuestionStrong name and .pfx file Pin
Nigel Mackay8-Nov-09 18:47
Nigel Mackay8-Nov-09 18:47 
AnswerRe: Strong name and .pfx file Pin
Natza Mitzi23-Nov-09 0:19
Natza Mitzi23-Nov-09 0:19 
GeneralRe: Strong name and .pfx file Pin
Nigel Mackay23-Nov-09 1:05
Nigel Mackay23-Nov-09 1:05 
GeneralRe: Strong name and .pfx file Pin
Natza Mitzi23-Nov-09 1:59
Natza Mitzi23-Nov-09 1:59 
GeneralRe: Strong name and .pfx file Pin
Nigel Mackay23-Nov-09 2:02
Nigel Mackay23-Nov-09 2:02 
Questionto read word document in the textbox Pin
vimalkumarsinghal7-Nov-09 22:22
vimalkumarsinghal7-Nov-09 22:22 
AnswerRe: to read word document in the textbox Pin
Gerry Schmitz8-Nov-09 2:48
mveGerry Schmitz8-Nov-09 2:48 
GeneralRe: to read word document in the textbox Pin
vimalkumarsinghal9-Nov-09 2:50
vimalkumarsinghal9-Nov-09 2:50 
GeneralRe: to read word document in the textbox Pin
Gerry Schmitz9-Nov-09 4:22
mveGerry Schmitz9-Nov-09 4:22 
AnswerRe: to read word document in the textbox Pin
Dave Kreskowiak8-Nov-09 3:38
mveDave Kreskowiak8-Nov-09 3:38 
AnswerRe: to read word document in the textbox Pin
Shameel8-Nov-09 23:27
professionalShameel8-Nov-09 23:27 
GeneralRe: to read word document in the textbox Pin
vimalkumarsinghal9-Nov-09 2:52
vimalkumarsinghal9-Nov-09 2:52 
GeneralRe: to read word document in the textbox Pin
Shameel9-Nov-09 23:48
professionalShameel9-Nov-09 23:48 

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.