Baz Star's Q&A profile
Visual Studio Visual Studio 2005 perfomance issue
Well, i just converted my 10 project solution to VS .Net 2005, and i'm finding out the converted app is running very slow. There has been no real change(except i substituted ConfigurationSettings.AppSettings to ConfigurationManager.AppSettings to see if that was the performance issue) and no luck. My application connects to Microsoft SQL Server(not 2005). What may be the cause to this problem My computer is a 2.39GHZ Celeron pc with 752 mbs RAM. There was no problem whatsoever with 2003 though. Thanks. Hi. Just wondering - make sure you don't have any unneccesary background apps running or applications open ...Show All
Visual Studio Express Editions Starting to work with Arrays - Two Questions
I am using the random number generater to load 10 numbers to an array based upon the user selection the random number limit. I have 2 questions - After I'm done with the array(10) ... I need to clear out the values; so, the user can restart. I would like to take the random array and sort it and display it to listbox entitled lboxSorted. Any help would be appreciated. Thanks, Tom Below is my code for the portion I have working. Try ' Converts input text to numeric and assign values to variable maxInput = Integer .Parse( Me .txtInput.Text) ' generate 10 random numbers For i = 0 To 9 Step 1 g ...Show All
Visual Studio Tools for Office 4 Lines C++ Code, How it is working?
#include #include #include main() { string word; while(cin>>word) cout<<"\t ["<<WORD<<"]"<<WORD.LENGTH()<> is working inside while loop condition. I would be very thankful if anybody explains the code to me... This is a .NET Framework forum for VSTO, which is only available for VB.NET and C#. Your question does not belong here. You may find someone who can help you here: Office Automation : office.developer.automation newsgroup http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.automation&lang=en&cr=US Otherwise, yo ...Show All
.NET Development Checking if I'm online
Hello there! This is my 1st post here and I'd like to greet all people here and ones that are yet to come! I hope we will cooperate just fine. For start, I have a question: I'm making a project with Visual Studio .NET. It is a counter that counts time spent online. (most people in Croatia still use dial-up networking, including me) I'm doing the code in C++. I was wondering how can I check if I have connected to Internet. Another think (I think that would be better): Can I set it so that when I connect to Internet, I send information of establishing connection to my program (if program is not ran, it runs the program first). Is this possi ...Show All
Windows Forms TaskVision and Replication
I am just beginning to learn about the TaskVision application. I noticed the use of Web Services. However, a disconnected/connected application would benefit greatly by using the SQL CE functionality for this purpose such as RDA and Merge Replication. Most of the desired behavior is built in. Is there some way to this functionality as a web service. Why was ...Show All
Windows Forms listview autoscrolling problem in dotnet
I have another problem with the listview: The view is set to largeicon and when I fill up the list dynamically with items it scrolls always to the last clicked item. I can drag the scrollbar down but after releasing it jumps right back to the item I clicked and puts it on top. The wierd thing is this only happens while adding items to the view. After completion it behaves normal and I can scroll up and down regardless of the item I clicked. Any Ideas Greetz Sven. nope. The user wants to see the update process which would not be the case with Begin and EndUpdate ...Show All
Visual Studio Express Editions No symbols loaded.
[code]'My First Project 1.exe': Loaded 'C:\Documents and Settings\Cody\My Documents\Visual Studio 2005\Projects\My First Project 1\debug\My First Project 1.exe', Symbols loaded. 'My First Project 1.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'My First Project 1.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. Debugger:: An unhandled non-continuable STATUS_DLL_NOT_FOUND exception was thrown during process load The program '[5080] My First Project 1.exe: Native' has exited with code -1073741515 (0xc0000135).[/code] Can anyone tell me whats wrong The symbols that are not loaded ar ...Show All
Visual Studio Team System multiple workspace mapping error?
I created a basic workspace <servername>: $/ -> c:\files\src I then created a second temporary workspace VSTS_TEST: $/ -> %TEMP%\test But when I view the new workspace in Source Control Explorer, it seems to be a combination of the workspaces! If I checkout all files (* /recursive) for this 2nd workspace, it checks out all the files in both workspaces This definitely seems wrong to me (the only mapping displayed when viewing the 2nd workspace is the mapping I explicitly added). I don't see anyway to exclude the unexpected files from being "included" in the temp workspace... I am using VSTS June CTP (s ...Show All
.NET Development Deserilization of the EventHandler Delegate Not Permitted
Hi, I am using .Net 2.0 and we are using remoting for a windows based application. I am getting the following exception when I am trying to call a remote method: Type System.DelegateSerializationHolder and the types derived from it (such as System.DelegateSerializationHolder) are not permitted to be deserialized at this security level. I have set the TypeFilterLevel to Full in both client and server but still I am getting the exception. Here is the client configuration: IDictionary channelProps = new Hashtable (); channelProps[ "port" ] = 0; channelProps[ "typeFilterLevel" ] = System.Runtime.Serialization.Formatters. TypeFil ...Show All
Visual C# error in local variable
when i run the code below i get this error Error 3 Use of unassigned local variable 'result' C:\Documents and Settings\Francis Jackson\Desktop\string\WindowsApplication12\IRunAccess.cs 98 20 icx protype 1 how could this be when i have result assinged public override object RunSQL( string sqlstring, out string err, string XMLDOCPath , out string err2) { string errlocal = "No DataBase Errors" ; err = errlocal; object result; string Connectionstring; try { Connectionstring = GetConnectionString(XMLDOCPath , out err2 ); using ( OleDbConnection OLE ...Show All
Software Development for Windows Vista Is simultaneously displaying live captured video and its processed version possible?
I want to write a video capture application which can display the original video and the processed version in real-time. For example, display video feed from a webcam and a monochromatic version of the feed. Is this possible Thanks. I think it's possible as following; Capture filter ---> Infinite Tee filter ---> VMR9 (windowless mode, original video) +---> Monochrome filter --> another VMR9 (windowless mode) Try this.... ...Show All
Visual Studio Drill-Down
Hi All, I am using VS 2003.net. I am trying to create a report which would display 3 sections (Personal Details, Educational Background and Skills). They are the fields from my CLIENT table. The report would display one record at a time. I wish to do the features like collapse and expand. i.e.When users click on the label of Personal Details, the report would then expand to show personal details, if user click on that label again, the report would collapse and hide personal details. I wonder how I can implement this feature. Thanks for any help! Eliza ...Show All
Visual C# Messagebox.show
I am new at this so be easy. I have a messagebox.show that I want to display the result of a SQL select statement in. How do I do this please. I am using C# 2005. Here is a little dirty piece of code, you must use a StringBuilder, finetune the code and format the message. But it is a example: DataSet result = ...; string message = string .Empty; foreach (DataTable table in result.Tables) { message += String.Format( "--- Table: {0} ---\r\n", table.TableName ); foreach (DataRow row in table.Rows) { for ( in ...Show All
Visual Basic GDI+ Questions
I have this beloved old VB6 program that has been converted to a sleek new vb2005 program. It's name is "Color" Color is a utility. It will sample pixels color anywhere on the desktop. It also gives me the x-y coordinates for a given location. It gives me the RGB color value in hex and decimal. I find that I used Color to measure dimensions a lot. and that I'm always having to(x1-x1) and (y1-y2) and awful lot. It's natural that I'd like to use Color to measure anywhere on the desktop or more accurrately what I'm seeing in the moment. So tonight I've been playing with GDI+. It's no problem to: dim g as graphi ...Show All
Windows Forms Binding Context Issue
I am having a problem properly binding individual controls to a dataset. The issue doesn't seem to be the binding itself, but more that when I navigate the rows of the dataset the content of the bound controls aren't changing with the current position in the dataset. I have two forms that are using the same dataset. One is a datagrid displaying&nb ...Show All
