Cyn2255's Q&A profile
Visual Studio Express Editions question about vb express and hanging the pc
I have installed the entire package and even started a first project, the problem comes when I move a web browser control to the form, the CPU goes to 100%, and pretty much the system is EXTREMELY slow to respond, makes sense if it's maxed out, but why is this happening my cpu is a 1.5Ghz should be able to handle this software just fine , plenty of memory almost a Gig, so what is the deal anybody else run into this Finally it works, I created the tutorial lesson #1 and ran it. works great! ...Show All
Visual Studio 2008 (Pre-release) VB9 Object Initializers and Parameterized Constructors?
In VB 9 how will the use of an object initializer work if the only public constructors are parameterized constructors, that is if the basic constructor's modifier prevents its use In the current LINQ CTP (May 2006) we disallow this case to simplify implementation. However the design is still under consideration - so keep a look out for new updates. Ting Liang ...Show All
Windows Forms Folder Browser Question
How can I detect when a user has clicked a path property in the Properties Window at design time & show the Folder Browser Dialog box & not when the user adds my control to the form I would think it's something like this (added to your property <Editor("System.Windows.Forms.Design.FileNameEditor, System.Design", "System.Drawing.Design.UITypeEditor, Sys ...Show All
Visual C# Can I convert an array to an actual arglist ?
I have a varibale arguments unmanaged function in C++ which I can call with variable number of arguments from C#. however if I don't know the number of arguments I need to pass, how can I add them dynamically to the list of varargs e.g. void function( object[] objects) { String format; // build up the format string based on the object types ... printf(format, objects ) } I don't clearly understand your question, but if you want to build-up an string array and then pass this as an argument use: ArrayList buffer = new ArrayList(); // TODO: Add string's to buffer; buffer.Add( &quo ...Show All
.NET Development Size of object at runtime
Hello Friends, I wanted to check the size of the object (Entity & data storage) when the application is run/running. what could be possible ways My application is ASP.net based C# code behind application. Thanks in advance friends. Manohar Application Developer Hello Manohar, Are you asking for the size of the [managed] object in memory Are you asking for the size of an object when serialized Are you asking for the size of data when persisted in a database The size of a [managed] object in memory is not documented [aside from interop purposes, and using the 'unsafe' sizeof operator in C#. The reason the sizes are not generall ...Show All
Visual Basic using a timeout for file.exists
When I use the file.exists in visual basic, if the file in fact does not exist or there is a firewall involved, etc.... the time to return a value is longer than acceptable for my program. Is there a way I can use a timeout I would like to check to see if the file exists but only if it can give me a return within 2 seconds, for example. Thanks, Arkman5 Hi Arkman5, I haven't experienced a long return time with File.Exists. Are you using My .Computer.FileSystem.FileExists() Can you share a scenario that reproduces this issue Thanks, ...Show All
Visual C# (407) Proxy Authentication Required.
Hi, I am trying to write a winform application that needs to access internet with or without proxy. the code is: string rssURL = "http://msdn.microsoft.com/rss.xml" ; // Begin the WebRequest to the desired RSS Feed System.Net. WebRequest myRequest = System.Net. WebRequest .Create(rssURL); System.Net. WebResponse myResponse = myRequest.GetResponse(); Resuts: 1. without proxy like home, the above works well. 2. with proxy like company, the above return error at the last line. i searched the issue online, a lot people talked about this, but i can not find a working solution yet. Any help is ap ...Show All
Visual Studio Express Editions Commerial usage??
The Licence with the Microsoft Visual C++ 2005 Express Edition is a bit vague on commerial usage, can the beta edition be used commerially No. Why are you using a beta still I thought they all expired anyhow. The final release you can use for whatevre you like. ...Show All
Visual Studio Document Explorer crashes
Thought I'd start a new thread, since I'm using Visual C# Express, rather than full VS2005. Windows XP Pro SP2, Visual Studio 2003 Pro, SQL Server 2000 Developer Edition, Visual C# Express, Visual Web Developer Express, SQL Express 2005, MSDE. I also have Virtual Server 2005 SP1 beta installed. Problem just started this weekend. Whenever I click on any topic in the Index, Document Explorer crashes. I've tried Repair on Visual C# Express, Visual Web Developer Express and MSDN 2005 Express. Same problem. It was working fine last week, I'm not sure what's changed. I have previously had VS2005 beta2 installed, but I removed that by following the ...Show All
Visual Studio Express Editions Passing values through methods
How can you pass values from one method to another I have been storing values in labels and textboxes. Then, when another method needs the value, I initialize the variable to the text in the label or textbox. This gets the job done, but I would like to know the proper way to do this. hi, you can use a return method (that returns a value) between methods or use global variables >>> ...Show All
Windows Forms User Controls Vs Custom Controls
Hi, I'm currently using VS 2005 and designing Winforms. We have a need to develop new controls. During this tenure, we are stuck which control to design, either "User Controls" or "Custom Controls" What do you suggest and specific reason for that In other words, which is the best option between User & Custom Controls Any light on this aspect will be highly appreciated. Regards, The difference is in the design. User control can bo design with drag 'n drop Custom control must be all coded In windows form there's not a big difference but in asp.net if you want to distribute a user control, you also need to distribute the ascx not ju ...Show All
Visual C++ GDI+ Display JPG
Hi all, I am new in Visual C++ and GDI+. I am currently using VC++ express to display a jpg file. I basically, copy from PSDK example and paste it on my program as follow: WM_paint: Image myImage(L"Climber.jpg"); myGraphics.DrawImage(&myImage, 10, 10); It didn't even compile. I am sure, I must have done something incorrectly or not doing something else in the first place. All other example I see in the internet gave similar method. Can anyone let me know how to at least display a JPG Regards, Alexon Jong Hi Martin, Here are the error: c:\documents and s ...Show All
SQL Server How do I get overall package duration?
I'm developing a web app that displays the running packages and the total elapsed time. I'm calling GetRunningPackages() method and using the ExecutionDuration property of the returned package. The duration seems to be only for the currently executing container and not the entire package. Is there a way to get the duration of the entire package Thanks. There is a variable called System::StartTime that gives the time that the package started. You can derive duration from that. -Jamie ...Show All
.NET Development what is the difference between return value and output value in sqlparameter
what is the difference between return value and output value in sqlparameter Pls explain to me in plain and simple english since i m not very good with SQL server eithe R.Tutus wrote: 1/ what does out in your function code stand for in VB (i m familiar with VB), is it ByRef or something like that, i ve never seen it in VB (i m new to programming though :) Sorry mate, i am not familar with VB.NET. But I guess, it should be ByRef since that is what I used to do in VB 6.0 time. R.Tutus wrote: 2/I guess your SQL query: Select Null From Customer Where Name = @Name checks if there re any duplicate cust ...Show All
Windows Forms Deployment Project
I have the results of a large deployment project that have to be installed. The prerequisites are: To test and see if the V2.0 framework is installed and if not install it To test and see if the MDAC V2.8 is installed and if not install it To test and see if SQLServer Express is installed and if not install it Also the customer project comes with a .MDF database that has to be added to the newly installed SQLServer Express in order for the program to function. How would this be done It is highly desireable to include these packages in the .MSI file. How do I include these files in the MSI ...Show All
