Answer Questions
dinh107 project location
Hi. I'm new to vb.net and just installed it. I try to put my projects on my network drive because I have lost a lot of files from hardware crashes. Unfortunately, vb.net doesn't seem to like that idea. It gives me the error 'project location is not fully trusted by .net runtime'. Can anyone tell me how to resolve this Thanks, Marilyn map the netwrok drive and try again! Y ...Show All
SKK* Need help getting started...can't find C# compiler
Hello, I installed the Microsoft .NET Framework 1.1 Redistributable and Microsoft .NET Framework 1.1 SDK . I created a "Hello World" C# sample program but there does not seem to be a csc.exe on my PC. Does the compiler not come with the SDK Any ideas what I'm doing wrong Eric Thank you very much. I was looking in the C:/Program Files/Microsoft.NET/SDK/v1.1 folders for the compilers -Eri ...Show All
FirstMalone BackgroundWorker problems
Ok.....I have a while loop that executes an increment on a counter for a couple thousand times. I want to be able to show the progress on the counter using a progressbar. Now, I am executing the while loop in the DoWork method of the background worker and updating the progressbar in the ProgressChanged method and when i call RunWorkerAsync then things go wrong. My problem is that the progressBar updates properly and the count increments...howeve ...Show All
Shane T. Problem downloading Framework 2.0
Hello all, I'm having this problem and I found this forum title is most closely related to it so I thought I try here, hope you don't mind if the problem is misplaced. I'm downloading the .NET framework 2.0 setup and, everytime, it just hang (seems to be forever) at a point Registering System.EnterprisingServices.dll which Executing: "C:\WINDOW\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe" /bootstrapi Has anyone else been th ...Show All
rahmed IStream.Read documentation
The msdn documentation for IStream.Read says the following about the pv parameter: When this method returns, contains the data read from the stream. This parameter is passed uninitialized. What does uninitialized mean here As far as I can tell this method does not work as expected unless pv is a byte array with length equal to the cb argument. If I use the interface from C# it wont even compile if I leave pv uninitialized. ...Show All
Jai22586 USB in C++
Hello Everyone, I have a code in C++, which connects to USB a blackberry device. I thought is a good idea to move it to C#, the only problem I'm getting is in this piece of code, if somebody can explain or have any idea how to move it....... enum { READ_EVENT, CLOSE_EVENT, NUM_EVENTS }; then in the int run() // something along these lines...... { //create some events for listening for notifications from the device _ev ...Show All
Jean_2 what is activation scoping in assemblies?
Hi all, I have just started dotnet framework.im understanding the assemblies ,in the framework documentaion ,i have just come across the naming " activation scoping ".Could anyone elaborate on that Thanks in Advance Santosh Kumar Scoping is the process in which the scope of a member is determined. For example, you may have noticed that you can select a block of text in VS.NET and then press the Ctrl-F key to perform a find-and-r ...Show All
matthewfoster DataGrid Populating Columns manually
Hi I am beginning to Use Visual Studio 2005, have a question on how to populate a DataGrid, not using the datasoure and binding method, but to individually assign the coluimn values returned from a query individually. Can this be down, reason I am building a Photographis app for use in my buisness and need to display a image associated with the data retrieved. hi, I dont know much but i hope it ...Show All
Yann How do you erase a portion of a bitmap?
How do you erase a portion of a bitmap I have a bitmap that is transparent. I called the graphics object Clear method, passing the Transparent color value when I created the bitmap. I need to redraw a small portion of the bitmap. I would prefer to erase and redraw just that portion, rather than clear and redraw the entire bitmap. I tried doing a FillRectangle using the predefined transparent brush, but that didn't work. I did a GetPi ...Show All
David Fries Is it a good idea to throw exceptions in constructors?
Hello, Are there any pitfalls involved with throwing exceptions in constructors I use C# and VS2005. Many thanks, Ben I am currently experimenting with the using statement and throwing exceptions in a constructor and think the given answer is not fully correct. - class defintion above is not the way it should be done: finalizer/destructor missing - description not complete: if exception is thrown in const ...Show All
TangQing Determine valid IIS website using System.DirectoryServices
I'm trying to determine which IIS website is a valid website and which are not, i.e. which apps are actually IIS IIsWebDirectory and which are not, how can this be done I'm using System.DirectoryServices in C#.NET. Below is some sample code, the problem I think is that all the websites inherit from their parent ROOT, and so all appear and IIsWebDirectory and also with an AppRoot value, even though some clearly do not have this property themselv ...Show All
StephenW asynchronous method throwin exception c#
Hi i nead to call webservices method asynchronous and for some reasen if webservice hawe problem throws exeption, and if he throws exeption in chatch block i wont to read from local file i hawe this code.... public void GetShenimetOnline()//hear i call the method { WS.GetALLKodetTarikCompressAsync( AppConfig .Instance.Language); WS.GetALLKodetTarikCompressCompleted += this .GetALLKodetTarikCompress_Completed; } privat ...Show All
Huwwuh FK violation on TableAdapter.Update
I have 2 tables, namely Parent(ParentID, ParentName) and Child(ChildID, ChildName, ParentID). I created a form by dragging the datasources based on the dataset produced by this tables. The Parent table is represented by details while the Child is with DataGridView. The Child table bindingsource is bound to the relationship between the two tables so I expected that Child.ParentID would change accordingly after updating the parent table to the dat ...Show All
jose-luisp occasional "Cannot generate SSPI context"
Can any of you experts help me out on this error “System.Data.SqlClient.SqlException: Cannot generate SSPI context” The weird thing is that this only happens occasionally, about 20 times per day [1] Client side: 1. What is the connection string in you app or DSN (please specify) "server=mydbserver; database=mydatabase; uid=; pwd=; trusted_connection=yes; Max Pool Size=10; Connection Timeout=60; Packet Size=4096; ; ...Show All
cristianv Opening mdb database at runtime
You would need to concatenate the *result* of the Server.MapPath call into the connection string, not the call itself ... " ... Data Source=" & Server.MapPath("./MoneyBoxes.mdb") & ";Mode ..." Note also "Data Source", two words, not "DataSource". -- Brendan Reynolds (MVP) wrote in message news:23188d8f-4a16-4155-a0a5-3c497a47bacb@discussions.microsoft.com... > Hello all; > I am facing problem with opening an access databas ...Show All
