SekharPC's Q&A profile
Visual Studio Express Editions loading large pictures in picturebox
Hello. I'm working with large pictures (one of them is 4021x3123) and I want to load them inside o PictureBox so the user interacts with it (draws on it). The problem is after I load the picture, when I use the scroolbar to move around it, it has that flicker effect and also the interaction with my application has a delay (it takes about 1 sec for the other controls to react). I'm guessing my problem appers because of the large picture I'm loading, so is there a way not to load the entire picture inside the PictureBox and only load that portion of the picture that is currently dispayed by the PictureBox Is there a better solution to that Thanks. Thanks for your answer. I tought of that, but it's ...Show All
Smart Device Development why combobox selectedIndexChange event not fires in SmartPhone2005?
Hi, Please let me know why combobox selectedIndexChange event not fires in SmartPhone2005 when navigate in combobox please help me. Thanx Owais Hello Owais, Would you please tell me how you test your applition (on emulator or device) If you test it on emulator, using mouse to select items in combox will not come to raise this event. Best Regards, Zero Dai ...Show All
Visual Studio Team System SDM and WebProject
Hi, Is it possible to reverse WebProject to SDM Application model I mean Visual Studio 2005 Web Application Projects ( http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/default.aspx ). I know that it does not work out of the box, most probably synchronization module filters a project by type. So the real question is - what is a way to extend or customize the synchronization module Evegeny Unfortunately, there is no way to extend or customize the synchronization module at the moment. We will update this forum about reverse-engineering support for Web application projects if it's available. ...Show All
Visual Studio Express Editions MS access content change notification
Hi, How can I know if the access content is changed so that the content is update thank you Noting is impossible. At a minimun you need interpocess communications and that's something people don;t do alot in VB anyway. I think you'd be well advised to think about SQL. ...Show All
Visual C# Assign a bmp resource to a bitmap variable
I create a resource bitmap as bmp. I can not assign this resource bmp to a Bitmap variable. What I would like to do is change or swap between two bmps every second in a picturebox image. thanks in advance for your help and time, Edward I cannot get Application.Name, the Name method doesn't exist. I only find CompanyName. I also check case sencitive and still get same error. ...Show All
SQL Server Simple question
For some reason I cannot think of how to do this. But what I have is one data adapter that is pulling in hundreds to thousands of records based on some criteria. Each record in this dataset has a unique ID. What I need to do is iterate through each of these rows in the dataset's table and see if this unique ID exists in another SQL database table that contains hundreds of thousands of records. I do not want to pull in this other table do I Is there a Find or Search function Or do I want to pull in and cache the secondary table Or should I just do a SELECT statement and if no rows are returned then I know that the primary key would not be found Thanks for the information They are two different tabl ...Show All
Visual Studio getting an error cannot determine the queries necessary to generate this report in crystal reports for .net 2005
Hi guys, I've recently migrated a VB.Net app from 2003 to 2005 dev studio and the reports fail to run. If I try and preview them i get the error "cannot determine the queries necessary to generate this report". I have checked the datasource etc and all looks good. I even tried creating a new report from scratch and get the same error. Can anybody help Thanks in advance, Garfield69au Hi dude, Hmm all my reports have hidden formula fields that I populate from a VB form (used as filter criteria) - do any of yours ...Show All
Visual C++ Either VCProject or VCCodeModel is not ready yet
Can someone explain what the message " Either VCProject or VCCodeModel is not ready yet. Please close designer and try again." This message is being displayed while trying to view a page in the designer of Visual Studio 2005. I keep getting it when I try to view any form. new or existing. I have no idea how to fix. I am new to Visual C++ but have extensive experience in C#, VB.net, and Java. Thank you in advance not sure but repairing your installation may help (in add/remove programs) there may be some additional hints here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=12137&SiteID=1 ...Show All
Visual Studio 2008 (Pre-release) Data binding to Windows Forms controls in WPF application
How to make possible declarative (in XAML file) data binding to Windows Forms control which is declared in XAML in <WindowsFormsHost> element. What is a good practice http://11011.net/archives/000650.html But see here only one-way data binding. Please advise about two-way one! ...Show All
Visual Studio Express Editions Limitations of Visual C++ Express Edition
I have created a very simple C++ hello world program, and it seems that VC++ EE will compile the program, but it's not able to create a .exe that I can execute from the command line. Is it correct that VC++ EE cannot create .exe files and that you have to buy something from Microsoft in order to be able to create them Creating a statically linked /MT (debug or otherwise) is the default for VC++ 2005 Express Edition. So something odd is happening with the project being built. - Dennis PS: I'm at lang.NET 2006 until Wednesday, and I was teasing Anders about a bug in Turbo Pascal for CP/M-80 that I issued a patch for and that Borland allowed me to post on their CompuServe Forum. The bug was a wonderfu ...Show All
Visual Studio Modify XML documentation template
If I write /// above i.e. a method I get something like: /// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> Is it possible to modify the template generating this comment lines I.e. on my machine, I'd like to have a tag telling that I'm the creator of the class. So, I'd like the automatically generated documenatation lines to become something like this instead: /// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> /// <createdBy>Andreas</createdBy> Is this possible In case it is, ho ...Show All
Visual Basic My namespace (accessing default printer)
I am not able to find any printer related settings (get the default printer, change the default printer etc.) in the My namspace May be there is no printer related methods available within My namespace (My.computer) Please correct me. No, there is no printer settings in the My Namespace (there have been a couple of comments on this; it's just the way it is). To do some printing, look up the System.Drawing.Printing Namespace and in particular the PrintDocument class (it has a good sample on how to print). ...Show All
SQL Server Turn on remote access automatically
Hi, Is there a way (TSQL, External tool) to turn on remote access to SQL Server 2005 Express automatically I do not wish to use Sql Server Surface Area Configuration to accomplish this. Could this be done via C#, TSQL, or some external tool that could be launched from the command line Thanks! I believe you can use sp_configure to do this, but I haven't played around with it. Can you take a look at this article and see if it works for you http://msdn2.microsoft.com/en-us/library/ms190468.aspx Something like: sp_configure 'remote admin connections', 1; Thanks, Sam Lester (MSFT) ...Show All
SQL Server Importing / Exporting Data using ssms
I have installed ssms, and the toolkit. When I right click on a database I don't have Import/Export under tasks. However I do have C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTSWizard.exe installed and can invoke it manually. What do I need to do to get it to show up in tasks Hi Bill, Running the DTSWizard.exe file from tasks in the Management tool is not supported - a big mistake imho. Best way, currently, is to simply set up a shortcut on the desktop....:) Btw, I'm having trouble myself actually getting the DTSWizard installed so things could be worse for you.. Can you advise on the install sequence you used to actually get the DTS folder to appear eg; toolkit then sq ...Show All
.NET Development Abort() Thread when Thread is finished processing?
Hi all, is it best practice to Abort() a thread once that Thread has finished doing its processing I currently have the following code... WorkerSignOffThread = new Thread(BackgroundProcessing); WorkerSignOffThread.IsBackground = true; WorkerSignOffThread.Start(); private void BackgroundProcessing() { processingDone = false; InspectionManager.FillInspectionGoodAnswers(SelectedInspectionUID); processingDone = true; } ...as you can see when the processing is finished, I don't use Thread.Abort(); Must I Abort() the Thread, or doesn't automatically about itself when it has finished Thanks using Thread.Abort is not a good practise even Thread is running. Secondly, The answer to your question is that you dont need to cal ...Show All
