seetha's Q&A profile
Visual Studio Express Editions Need help with for and pictureboxes
I'm making a map editor to make maps Every tile is a picurebox. In the menu there is a command "New" wich will load all the default pics into the picturebozes, so you can make a new map i created this for statement dim i as integer For i = 0 To 391 PictureBox(i).image = My.Resources.Image_default Next i But this doesn't work. There is something wrong with the PictureBox(i).image Please help me. I'm using vb2005 Thanks in advance, Radexxio ...Show All
Visual C# Handling exceptions with GetDirectories() and GetFiles()
How do I handle security exceptions (especially "UnauthorizedAccessException") when using GetDirectories() and GetFiles() methods When those methods get around to a folder or file that is not accessible by a given user, it simply throws an error and does not return the rest of directories and files. (If there is a folder with 19 accessible files and 1 inaccessible file due to insufficient ACL, I want to be able to retrieve the 19 ...Show All
Visual J# Rebuild Issue with Object Test Bench
I am able to create an instance of a class in the Object Test Bench. But everytime I attempt to invoke a method (even an empty void method) of the class, the tool asks me to rebuild it, after which it resets the class and does not execute the method. It does this even though I have not modified the code in any way. I try to execute the method right after I create the instance. This seems to happen if you have multiple projec ...Show All
Windows Forms DataView.RowFilter Problem
Well to start out i am not sure if this is a problem in my code, or a possible problem with the DataView.RowFilter property, but here is what is occuring. I have a DataGridView that's bound to a DataView. The user basically clicks on specific rows in the DataGridView and it sets a property in the DataGridViewRow to true... The IsSelected Property. Once the user is done they go ahead and click a button which removes all the rows they selected. ...Show All
Visual Studio 2008 (Pre-release) Webcast from the Atlanta Code Camp online
For anyone who is interested, WROX has put the webcast for my LINQ/VB9/C#3 presentation online. Feel free to check it out at http://www.wrox.com/WileyCDA/Section/id-291776.html and let me know what you think. It is mostly ain introduction to the language changes that enable LINQ and doesn't cover XLINQ or DLINQ explicitly. Jim Wooley http://devauthority.com/blogs/jwooley/default.aspx Many thanks for the heads-up Jim, I'll check it out a ...Show All
Visual Studio Display empty instead of 0
I use an expression in a TextBox: Fields!myField.Value/10 myField is a type of integer in SqlServer. If the value in myField is null, the expression "myField.Value/10" will display 0, I want the expression to display empty if myField is null. How can I do that try this: =iif(Fields!myField.Value/10=0, "" , Fields!myField.Value/10). Good Luck. Long ...Show All
.NET Development Network stream problems (PLEASE HELP!)
Is it possible to read a single network (TCP) stream using both blocking and asyncronous reads in the same application All attempts I have made cause the application to hang. Basically I would like to be reading asyncronously for unexpected incoming messages in the background whilst blocking for replies to specific messages sent to the server as a result of the users actions. Please tell me if I haven't worded this very well as I haven't b ...Show All
Visual Studio Tools for Office actionspanecontrol v.s. usercontrol
I am new to vsto 2005, and have a few questions. 1- is task pane and action pane the same thing 2- in creating a word project , I can do : this .ActionsPane.Controls.Add( new UserControl1 ()); this .ActionsPane.Controls.Add( new ActionsPaneControl1 ()); is there only one actionpane for a word document, can we add more and how 3- what is the difference of usercontrol v.s. actionspanecontrol thanks. The A ...Show All
Visual C# Call Tree?
Is there any way to display a solution's call tree in the IDE Thanks, Ray What are the latest plans for making this available with C# and VB I greatly appreciate this feature under C/C++ and I miss it while working in C#. ...Show All
Windows Forms Probem in Loading the Form at Design time
Hi, My application have more number of forms in that some are inherited forums ,suddenly all the inherited forms are unable to see in the design view, and it showing error message like this "An error occured while loading the document. Fix the error and then try loading the document again. The error message follows : Object reference not set to an instance of an object. ". Im at the end of the project ,Please solve this problem.Im ...Show All
.NET Development inserting into access database
Hello, I am trying to create a form to insert a new person into by access database. I have italisized the part where i am having the error. "Caracter not valid" is the error which i am getting for using " " and its the same when i use "@". I need to insert lastname , firstname and teamid into the access databse through form and i am using oledb connection can anyone please help me sort this issue ...Show All
Visual Studio 2008 (Pre-release) how can i get shorcut keys
Hi here i'm trying to create a simple menu with simple operations like file open , file close and etc.. how can I get control keys (shortcut keys) for that menu. For example ctrl+s for save , alt+f for open file menu and etc. Thanx-Nagu As an example, you'd want to do something like this: <Window.CommandBindings> <CommandBinding Command="ApplicationCommands.Open" Executed="OpenExecute ...Show All
Visual C++ visual studio 2005 recompiles all
Hi, I just installed Visual Studio 2005 (on an XP64). Visual Studio 2005 recompiles all files in the project everytime, regardless whether changes were made or not. I browsed through all options, but can't find anything related to this. Minimal rebuild doesn't do it. Is there something I'm missing Thanks. Has your system clock changed That can sometimes make the system think all your files have changed and need building. ...Show All
Visual Basic Windows Application Resides on a single machine.
Is it possible that the application is installed on a single machine and the clients has a shortcut of that application so that if there is an changes to the application the update will be installed only on that machine. I suggest to use ClickOnce , you must put some files on a server, the others machines connect to it to get updates... ClickOnce Deployment ClickOnce FAQ ...Show All
Visual C++ Unicode to MBCS conversion in order to pass string to ISAPI calls
Hi, I have got a query related to 'Unicode to MBCS conversions'. First of all a brief information about project. I have got 2 projects, 1 is Unicode (Non-ISAPI) and other Non - Unicode (ISAPI). I need to pass the values from project 1 to project 2. Then this is going to be sent to ISAPI which in turn display the value in the browser through ASP page. I am using pseudo resources in which some characters are visible correctly ...Show All
