|
Thanks Dave,
No luck with Clean Solution, still getting NullReferenceException popup...Disassembly property page at address "VSHostUtil.HostProc.GetEntryPointAptThreadState"
Can you jus give a little strain to your brain to recall what you did to overcome the problem.
|
|
|
|
|
|
Yes, Rebooted. Problem has yet not been resolved, anything else would you like me to try?
|
|
|
|
|
I had a problem with the symbols not being loaded correctly, not the NullReferenceException.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hi
I want to know that is it possible to access a website(HTML) which is sccure that is it requires login and password .. I want to refresh that website from my C# application and later select some text from that page
Please let me know how thsi can be done in C#.Net
|
|
|
|
|
Perhaps use System.Diagnostics.process.start("YOUR URI") to do.
bill
|
|
|
|
|
It does not work .. displays en error message
|
|
|
|
|
what is that error message ?
sample:
private void linkLabel1_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
{
this.visitLink ("http://www.microsoft.com");
this.linkLabel1 .LinkVisited =true;
}
bill
|
|
|
|
|
I always insert the Microsoft Web Component in my user controls section in the toolbox.
it's under COM components: Microsoft Web Browser.
Create an object and call the Navigate function and pass your URL as parameter...
good luck.
No hurries, no worries.
|
|
|
|
|
Hi, i want to put two pictureboxs above each other, and make them transperant to each other.
or , I need to allow the picturebox to be trasperant....How?
Thanks
BASKOTA
|
|
|
|
|
Hi
I have a win app using webservice it shows data;
because of low speed connection i have a bad visualization of application.
can any one help me on this problem;
The WinForms render as :
.
.
.
myForm.Populate();
myForm.Show();
.
.
.
|
|
|
|
|
If you hvae a slow connection, the only thing you can do is try and reduce the amount of data coming from the WebService. Only ship exactly what you need to render the form.
You might also try asynchronous calls to the WebService. This would allow you to start rendering parts of the form that don't need data, then update the parts that do when the data comes back from the WebService. This usually gives the illusion of faster response, if done correctly.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
What about multi threading ?
|
|
|
|
|
That IS multithreading. When you make an asychnronous call, a thread is created out of the thread pool to make the call while the UI thread goes on it's merry way.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi
Does any body have knowledge that how i work with Telephone APIs in C# or VB.Net? Where is get this APIs?
Please help me in this...
E-mail: waqasb4all@yahoo.com
Muhammad Waqas Butt
|
|
|
|
|
There are no native .NET telephony APIs. You can use PInvoke interop to call the TAPI API functions though. Have a look at this[^] as a starting point.
Michael
CP Blog [^] Development Blog [^]
|
|
|
|
|
I am trying to set the grouping / sorting fields at run-time from
C#.NET against a Crystal Report.
I'm using the code as provided in the help files using syntax like :
FieldDefinition FieldDef = new FieldDefinition();
FieldDef = Report.Database.Tables[0].Fields["FieldName"];
Report.DataDefinition.Groups[0].ConditionField = FieldDef;
I have the appropriate 'using' set up (for
CrystalDecisions.CrystalReports.Engine.FieldDefinition.FieldDefinition()).
When I attempt to compile this code I am presented with a build error
suggesting that :
'CrystalDecisions.CrystalReports.Engine.FieldDefinition.FieldDefinition()'
is inaccessible due to its protection level'.
I've followed / copied the code sample as suggested within the help files.
Where have I gone wrong / what am I missing ?
Any pointers / help would be appreciated.
Thanks in advance.
Hadi.
|
|
|
|
|
|
Finally I found a solution to the ever irritating problem of bi-directional relations between objects that are saved in a database. Ok, the solution wasn't really obvious and rather complicated if you ask me:
queryBuilder.Append("SELECT Computers.Computernummer,");
queryBuilder.Append("Computers.X,Computers.Y,Computers.Geblokkeerd,");
queryBuilder.Append("Leerlingen.Leerlingnummer,Leerlingen.Naam,");
queryBuilder.Append("Leerlingen.Klas,Leerlingen.Foto,");
queryBuilder.Append("Leerlingen.Geblokkeerd as LeerlingGeblokkeerd");
queryBuilder.Append(" FROM Computers LEFT OUTER JOIN ");
queryBuilder.Append(" Leerlingen ON Computers.Leerlingnummer");
queryBuilder.Append(" = Leerlingen.Leerlingnummer");
while (reader.Read())
{
Computer computer = new Computer();
...
if (!reader.IsDBNull(4))
{
Leerling leerling = new Leerling();
...
computer.Leerling = leerling;
leerling.Computer = computer;
}
...
In short, what I do here, I select a computer and possibly with it a student. This only happens when the student has been logged on to the computer. Sounds simple, code looks complicated.. And it took me quite some time to figure it out.
Maybe this tip can be good for others which have the same problem.
WM.
What about weapons of mass-construction?
|
|
|
|
|
Can anyone tell me what are the C#, ASP.NET coding standards followed in the industry ?
Cheers,
Tabarak
|
|
|
|
|
|
|
The product I work on is in C#, and we're talking about making the code harder to reflect/steal. I heard NGen does a precompile, but the docs seem to imply this is done per machine, not to make an exe to distribute. Is that right ? Is the obsfucator worth looking in to ? Or should I tell the guy to fund a rewrite in C++ ? :P
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
That is a definition for it : Go[^].
And also this may help :Here[^].
|
|
|
|
|
NGen generates code per processor, not machine. Even some of the processor revisions are considered when it gen's code.
I'd look into the obfuscators. Nothing is going to prevent a determined schmuck from reversing the code, but then again, they could do the same to C++ source too.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|