Marcel Kulicke's Q&A profile
Visual Basic Application Manifest
Can someone tell me how to change something .application to .exe When I publish my program the files I get are: Neopets Program.application, Neopets Program_1_0_0_0.application, and setup.exe. When I try to run the setup on my computer downstairs, it downloads 2 files then the setup will stop and the program will not be installed. When I try to use either of the .application programs, Windows does not know what to use to open it. ...Show All
Visual Basic Best practice for reusing inherited class heirarchy? (i.e. Reference, Link, etc.)
Lets say I have a series of classes that I'll reuse in several projects: BaseForm inherits Form (BaseForm.vb) BaseForm_Exercise inherits BaseForm (Baseform_exercise.vb) I see a couple of ways to bring these into a project: -Link the individual .vb files (so I have to include both of the above even if I only need the BaseForm_Exercise b/c it depends on the other.) - Include a Project (MyReusedClasses) that contains all of the classes that I might be reusing. This option is a lot more organized and easier to add to a new project, BUT it means that I'll have to distribute an extra binary of MyReusedClasses.exe (or .dll) Am I missing something ...Show All
Visual Basic Web Service setup help needed
Hi all, I'm in the process of learning how to create and consume web services. I understand how to create the service and how to access the service from vb.net but what I don't know is how to set something up that my web service runs on. I don't have a website to publish the service on so I've briefly looked into ways to set up some kind of desktop emulation or host service that I can use. I've seen references to IIS running on the desktop as well as something else (I'm drawing a blank and can't remember the other service). Can anyone point a link out on the easiest way to set up and test a new web service There has to be an easy wa ...Show All
Software Development for Windows Vista small problem
Hi, While exposing a Workflow via Web Service, in the new Web Service Code file, we used to inherit the WorkflowExample.Workflow1_WebService instead of directly from the WebService base class as shown below. public class Service : WorkflowExample.Workflow1_WebService { } can any one say like "If I want to use two workflows into this Web Service How I have to inherit the Namespaces." In the workflow I am using WebServiceReceive and WebServiceResponse Activities. not sure if I get it, should I convert my sequential workflow to event driven When I open event view of the workflow WebServiceRecei ...Show All
Visual Studio Express Editions Assemblies signing
How can I generate a signing for my assemblies ! I see a certificate generation with Click Once, but I wish to create it by myself... I've also see some command line utilities, mentioned inside MSDN, but I didn't find them in my installation . Anyone know a way for create a public certificate for my assemblies Thanks to all . Hi Giacomo, You can create test certs for signing assemblies through VS by doing the following: 1. Go to the project designer (right-click your project in the sol'n explorer and select 'Properties) 2. Go to the signing tab 3. Check 'Sign the assembly' checkbox 4. Under the 'Choose ...Show All
Visual C++ Is C++ the poor cousin?
Hi, Can somebody enlignten me on the plan for the VC++ IDE I've worked a bit with C# 2005 B2 and found the refactoring features very nice and helpful. Also I've played around with the class diagramming features. Now I'm beginning to do some VC++ and after much digging around in forums etc. the infomation I have so far is that these features won't be available for VC++. Is this true Where can I read what parts of the C# IDE MS plans not to deliver to the C++ community Best regards, Allan Hansen I appreciate all the work that has gone into the C++/CLI language itself, it is a really bold move. I don' ...Show All
Visual Studio key schemes and output window nagivation
In VS2003 using the default key binding scheme, F8 is mapped to Edit.GotoNextLocation. Edit.GotoNextLocation works in the Find Results windows. Edit.GoToOutputWindowNextLocation is used for navigating the Output Window and in the default key binding scheme, nothing shows up as bound to that command. However, in practice it appears to be bound to F8 (as if it is sharing the Edit.GotoNextLocation command binding). And F8 works whether or not the output window has focus (unless an SEID_ResultsList element has been brought forward). In VC++6, by default, F4 and shift+F4 are used to navigate both the output window and the find results window dep ...Show All
Visual Studio Tools for Office The current .NET security policy does not permit ...
Hi there how can i fix my excel VSTO .NET 2005 Problem the error message is " the current .NET security policy does not permit the customization to run. do not change the security policy in your computer.... ". i tried to run the follwing BATCH file C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\caspol -pp off -ag 1.1 -url " file://D:\folder\ *" FullTrust -n File C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\caspol -pp on pause but didn't work, the same error message came. how can i fix this problem I am not sure what is exactly wrong. May be caspol can not load your assembly because it can not ...Show All
Visual Basic Form Order
I am using VB.net 2005 Express Edition I started a project, Form1, and after a while I decided to add a password form so that you enter a password before you can view Form1, my question is how, when I run the project, do I get the password form to be the start form Access the Properties page for your project and on the Application tab you will see a drop down box labeled ‘Startup form’. Change this to your password form in order to have it be the starting point for the application. ...Show All
Visual FoxPro Create a Directory
How can i create a directory when the app begins but validating if the directory exists avoiding an error code thanks a lot! Hi Eric, found it. MD fails to create a directory of more than one level, when the parent directory is either hidden or a system directory: Md (Addbs(GetEnv("APPDATA"))+Sys(2015)+"\"+Sys(2015)) Creating the directory one level at a time works, though. ...Show All
Windows Forms Windows XP Themes
I know that .NET 1.1 provides Application.EnableVisualStyles() to enable Windows XP themes. But, is there a way to determine programmatically at run-time whether Windows XP themes are enabled I'm creating a user control, and depending on whether Windows XP theme are enabled, my control will render differently. So, I need to know whether the client app ...Show All
Visual C# How to import a dll made in C++ Win 32
Hello Everyone, I have a dll which is made in Win 32, as it is not an assembly neither COM can't be used as a refrence, so I have to Import it.... Can someone tell me how to do it...As when i do it asks for the entry point and secondly how to call the functions from that dll.....A brief example will be highly appreciATED... Thanks, Harsimrat Thats simple.. u have to use System.Runtime.Interopservices in your main class: do this: [Dllimport("the dll path")] public static extern void nume_of_function(string t\his_params); Remeber that you have to adapt to c++ parameters.. ...Show All
Windows Forms Assembly sharing Problum
Hi all, I have created a dll in vb.net .We ahve delevoped some programes with this dll.when we install it , it is working properly.But when we uninstall one of the program, other programs which are using the same dll is not working. It shows some errors( dll with calssid is not registed properly.).but the dll is there in same director ...Show All
SQL Server Grand Total Count incorrect after incremental update
I've been experiencing a strange behavior with a count measure where the total doesn't show the correct number after an incremental update. Basically I have about 70 million rows in my fact table and initially I do a full process of the cube to get it up to speed. Then each subsequent day I do an incremental update to that cube adding only new rows. The strange part is my grand total count seems to do it's own thing after each incremental update. Here's how I discovered the problem: I made a backup of the AS database and then ran the same test 3 times restoring the original database in between each run. Each time I added about 41K rows to ...Show All
Windows Forms MultiLine Listbox (VS 2005)
Hello, I am attempting to make a listbox that allows each item to span multiple lines. I have made it owner drawn and am capturing DrawItem and MeasureItem. It all works great, except, when I resize the control, MeasureItem is not triggered. Is there anyway to force it to recalculate the size of each item when the listbox is resized Also, does anyone know of an easyway to be able to display richtext in a listbox Hi, I'm attempting to do the same (multiline listbox), but I am locked on an different problem: I am capturing DrawItem and MeasureItem too, but when I add an item with size bigger than size of list ...Show All
