ZopoStyle's Q&A profile
Visual Studio Express Editions Help with moving projects from different versions.
Hello. I'm working with Visual Basic in school, but I've got a problem. At home I'm using Visual Studio 2005 (The Visual Basic part of it), but at my school they got an older version.. My problem is that if I create a form in Visual Studio 2005, it splits the form into a form1.vb file and an form1.design.vb file. And because of that, I can't open it at my school. I'm not sure of what version they use at the school, but I think 2003. Are there any way to save the forms as just a form1.vb in Visual Studio 2005 Thanks in advance Albin Nilsson First, click the Show All Files icon in Solution Explorer, open the node next to the form and double-click the Designer.vb file. Type Ctrl+A, Ctrl+X to cut all the tex ...Show All
Software Development for Windows Vista Workflow Roles and Persistence
Scenario: When a user logs into our application, a list of tasks is presented to the user. This list is dependent on the all the workflows that the user is assigned to, the current state of the workflow (we are using a state machine workflow) and the event(message) that a user can raise depending on his role.I can currently load all the workflow instances from SQLPersistence. I am also able to get the current state of the instance and what events(messages) that they are waiting for. Problem: I would like to get from the instance which roles can actually raise that particular event. So that I can only show tasks pertaining to that event for a particular user. Since the roles associated with particular event can be dynamic I would like to ...Show All
Visual C# Write text over images...
Hi, How can I write a text over a image, defining the position of the text... Like I have a picture of a man holding a whiteboard and inside it I want to write "Enter"... I have the coordinates already... Thanks Depending upon how it's going to be spit out. For example let's suppose you have a .aspx page that spits out an image such as <img src="DisplayImageWithText.aspx text=I+got+pwnt" /> In this case you would [retty much do the same exact code except this time we take advantage of one of the Save overload methods which allows us to save directly to a Stream. protected void Page_Load( object sender, EventArgs e) { Response.Clear(); Bitmap TmpImage = Write ...Show All
Visual Studio Tools for Office VSTO 2005 SE Problems...!!!
Hi everyone! I installed recently the VSTO 2005 SE in my computer. Also I have installed VS2005 Professional. My question is: Why I don’t have the office projects' 'Word Document', 'Excel Document' an so on installed on the Visual Studio 2005 Instead, I have only the adds-in of this ones. Can Anyone tell me wich installer(s) I have to download in order to get this kind of projects (I mean 'Word Document', 'Excel Document') Thanks for any answer. VS2005 professional does not have support for Office document level customization development. You will need VSTO 2005 (Visual Studio Tools for Office 2003) or VSTS sku. VSTO 2005 SE installed on top of VSTO or VS2005 professional give you additional ability to develop Excel/Word ...Show All
Visual C# Reflection of an image (Fastest reply would be nice)
I am trying to make a reflection of an image but having trouble doing so. I have had to take my first image put into a picturebox make another picturebox with same image and flip Y coordinates to make it look like a reflection but when I try to add linear gradient brush in a rectangle around my reflection image picturebox I keep getting an error so far this is my code see if anyone is able to figure out what is wrong. Just so everyone knows I am a newbie at this and just fooling around with code to try to understand C# better because I am having trouble finding webpages with tutorials for C#. Thanks for any help on this. icon_ref is the icon's reflection I am trying to affect so it is the reflection image picturebox. iref is the i ...Show All
Windows Forms Click on a link programmatically using WebBrowser control
How can I click on a link using C# and DOM The page is loaded within my WebBrowser control. Thanks I am not using webbrowser control. Through console application I have opened IE and one web based application in that IE. Now i want to click on links present on that application. how can click on links ...Show All
Visual C# Creating child dialogs, only single instance...
I have a form with a button, when you click the button it creates another form. code: private void button3_Click( object sender, System.EventArgs e) { if (forum == null ) { forum = new Forum(); forum.Show(); } else { forum.Show(); } } When i click on X in child form i don't wish to finish with the form but only set it invisible so when I click on button again it reapears.Any ideas im getting error: 'System.ComponentModel.CancelEventArgs' does not contain a definition for 'CloseReason' Any ideas is it for .net..2 ...Show All
Visual Studio Tools for Office How to Develop InfoPath Application Using MicroSoft.NET InfoPath ToolKit
Hello Everybody, I am stuggle with .NET and InfoPath. Because I donnu How Can I use .NET InfoPath ToolKit to develop the InfoPath Forms to validate the forms and some scripting. I already did some forms with MicroSoft Script Editor. But I donnnu How to do with .NET InfoPath ToolKit. Anyone can send any Some simple example about this above request. Its really very very helpful to me. Just a simple example. Thanks in Advance vasantha prabu. Hi Vasantha Infopath SP1 is required to do .NET Based programming, below are some MSDN links to introduce you to the programming model of InfoPath Forms and integration with .NET. There is a Toolkit on MSDN Subscriber downloads for VS2005 now as well if you are a Subscriber. http://msdn.microsoft ...Show All
Windows Forms Comparing two strings with String.Compare()
I'm trying to compare two strings to see if either one or both is equal in Case. Can anyone tell me how I can do this using Compare() And what value it returns and how to get it Thanks in advance....... Yep, a 32-bit signed integer indicating: Less than zero strA is less than strB . Zero strA equals strB . Greater than zero strA is greater than strB . ...Show All
Visual Basic VS2005 managed WebBrowser opening Office docs
Hi All, I am using the new managed WebBrowser control (within VS2005) to display locally stored office documents (see code below). But when I navigate to the document I always get the 'File Download' dialog box. If (htmlFileName.Text.ToLower.EndsWith("doc")) _ Or (htmlFileName.Text.ToLower.EndsWith("ppt")) _ Or (htmlFileName.Text.ToLower.EndsWith("xls")) _ Then With webBrowser1 .Visible = True .ScriptErrorsSuppressed = True .Navigate(htmlFileName.Text, False) End With End If Is there anyway to suppress the display of this dialog box without having to change any internet explorer options Thanks In Advance George ...Show All
Visual Studio Team System solution as the topLevel of
I was wondering if i could create a pure 'folder' in team system version control in which to throw documents, schemas, workflows, etc. My current understanding is that you need to create an empty solution file, then a folder containing the documents underneath. -- is this correct is there way to do this w/o creating the solution file if not, i'm leaning toward using sharepoint for these sorts of items, which may be what the designers intended thanks! Hello, You can add any documents to Version Control directly, using Source Control Explorer. The scenario you described is true if you want to use Solution Explorer (which seems a little awkward for me). However, Sharepoint has many advantages as store of the documents, so you ca ...Show All
Software Development for Windows Vista GetVersionEx weirdness on Vista. Please help
I am calling GetVersionEx to get the windows version. I am using code sample provided at http://www.codeproject.com/win32/osdetect.asp . On WindowsXP it correctly returns 5 as the major version. But on Windows Vista, it returns 5 again instead of 6. Has anyone see this issue or any ideas why GetVersionEx returns incorrect value on Vista So far I have tried compiling with different settings of _WIN32_WINNT, reinstalled Vista just to be sure, tried to run this on a different Vista system with the same incorrect result. I also tried GetVersion instead of GetVersionEx too without success. Should I check for some registry keys or something I am stuck on this for more than a day now. Appreciate any help. Thanks. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture without shaders
Is it posible to texture a primative without the use of a shader (Like in managed DirectX) All the tutorials seem to use a effect to accomplish this. I'm asking this becouse I want to keep the system requirement for my program as low as possible. ...Show All
Visual Studio Team System Pre & Post Deployment Scripts in CLR (Database) Project
Is there a way to include Pre & Post deployment scripts into CLR Project The reason why I am looking for this is that when deploying CLR assembly/methods (more precisely upgrading), VS2005 can't delete/recreate database objects which depend on these CLR functions. Thus I need to delete them manually first and then create after deployment is finished anew... Is there a workaround for this problem No SQL Server does not allow that. -GertD ...Show All
Visual Studio Express Editions Listbox drag drop & reorder
Hi, I have 2 listboxes on my form. List1 is filled with alphasorted items from my access database. I need List2 to be filled with items dragged & dropped from List1 Users should be able to reorder List2 using dragdrop. I know this used to be a limitation in VB6. Can someone please point me to a .net/vb2005e solution for this I'm sure it will benefit others as well. Thanks ! Hi Ultrawhack, to solve the new problem, you can use the following sample code: this example uses 2 listboxes on a form, Listbox1 and Listbox2, note that the property "AllowDrop" of Listbox2 is set to true.now use the following code to drag data from listbox1 and drop it in listbox2 AND DRAG/DR ...Show All
