jnquinn's Q&A profile
Visual Studio Express Editions Error Message When Running .Exe Files
Hello, I've made a form in Visual Basic Express which just asks a question and gives 2 options, "Yes" and "No". If yes is clicked then a batch procedure runs and if no is clicked the form closes. I published the project I'd made and copied the .exe file that I found, into another folder on my computer. On my computer the .exe file opens perfectly and runs properly but when I open it on other computers on my network I get an error message. The error message says, "The application failed to initialize properly (0xc0000135). Click on OK to terminate the application." Is there any way to fix this Ste Moore wrote: Hello, I've made a form in Visual Ba ...Show All
SQL Server Starting SQL job from a Bat file
I have the need to start the execution of an existing SQL Server 2005 Agent job from a bat file. The job has dependencies that are impossible to predict, but the dependent environment does have the ability to run bat files from the command line environment. I'm hoping there is a way to write a command line that starts an existing SQL job on the local server. Any ideas Hi, thats quite easy, write a CommandLine application using the SMo classes to call the job. The programmatic part is this here: Server s = new Server ( "." ); s.JobServer.Jobs[ "SomeJob" ].Start(); Quite easy , heh :-) HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Windows Forms Drawing Lines between two Listboxs
Hi, I have two listboxs on my form that contain different fields from two tables. I need to be able to map these fields to eachother, kind of like the way SSIS works, but I am running into a lot of issues. I know that in C# there is no Line control so I created one myself but the thing is when a line has to cross over another one it somehow overlaps the other one, Now if I want to give up this Line control idea and just draw lines between fields then I have no control over lines for instance when the user scrolls down or up these lines have to move accordingly. Any feedback, ideas, solutions would be great. Thanks, Ryan How about the following: Create a graphics object from the form or pa ...Show All
Software Development for Windows Vista Help with Exception - please
I am getting an exception when I try to raise an event in a test project for a WorkflowStateMachine. I am getting an "EventDeliveryFailedException" was unhandled and the inner excption is saying that my Winform that is hosting the runtime is not marked as serializable. Why is the ExternalDataEventArgs trying to serialize the form hosting the runtime The exception occurs when I pass in an instance of the service object as the sender. My event arguments inherit from ExternalDataEventArgs. I don't get what is happening here, I passed in a specific instance of an object that is serializable and somehow when I do, the serialization process ignores my object and tries to serialize the form. This leads me to believe there is a ...Show All
SQL Server editing xml files generated by ssis for data transfer
How do i edit the the files where do i get the definations of the various fields in the xml file... My specific probelm is to edit the xml file generate to transfer sql data to to a fixed width file. I want to append a <cr><lf> at the end of each transferred line. I presume that i can edit the SSISxml file generated and insert some value for the <Row delimiter> ... ...Show All
Visual C++ vcredist_x86.exe runs without errors, does not install VC8 DLLs
Hello, We built a couple of new machines for development and on both, the vcredist_x86.exe returns without error, but does not actually install all (any ) of the DLLs. vcredist works properly on every other machine in our organization. Here is a log... anything jump out at anybody We see the "skipping", but don't know why it is doing so. Thanks! === Logging started: 11/15/2006 12:15:28 === Action 12:15:28: INSTALL. Action start 12:15:28: INSTALL. === Logging started: 11/15/2006 12:15:28 === Action start 12:15:28: INSTALL. Action start 12:15:28: WindowsFolder.04B9F3B6_9645_7658_FF1F_C8B3B9A1E18E. Action ended 12:15:28: WindowsFolder.04B9F3B6_9645_7658_FF1F_C8B3B9A1E18E. Return value 1. Action start 12:15:28: SystemFolder.04B9F3B6 ...Show All
Visual Basic Default Value Gridview Winform
I want to set the Default Value in a Gridview to a Dynamic Date. If I use a static date like 12.12.2006 as DefaultValue in the DataSet it works. But I cannot find an Expression to set the DefaultValue as Dynamic. (getdate() I use in the SQL Database doesnot work. The Solution should be simple. Thanks for help Thank you, I would like to know the coding for seting a Default Value "Date" for a new record in the DataGrid. LG Hans ...Show All
Visual Basic Using Tab or Right Arrow Key as AcceptButton?
Hello, I found a way to set the form property AcceptButton for the Enter Key, but how can I set the AcceptButton as a Tab key or as a Right Arrow key Thanks in advance. Private Sub Form1_Load ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Me . Load Me . KeyPreview = True End Sub Private Sub Form1_KeyUp ( ByVal sender As Object , ByVal e As System . Windows . Forms . KeyEventArgs ) Handles Me . KeyUp If e . KeyCode = Keys . Tab Then Button1 . PerformClick () End If End Sub right arrow key would be e.keycode = keys.right ...Show All
Visual Studio Team System TF50612 Couldn't Remove Permissions for Group
Hi, I can't remove a user from Team foundation Server Security Setting (Team -> Team Foundation Server Settings -> Security). I get: Couldn't Remove Permissions for Group TF50612: Failure creating access control entry, one of the specified actions don't exist Regards DDressel Sam, What other items have changed We are now up to Visual Studio 2008, and the Process Template Editor still has MANAGE_EVERYONE_GROUP in the Groups & Permissions section and no design-time validation. Thanks ...Show All
Windows Live Developer Forums Live Tracking with TomTom Navigator
Hi Everyone, I've got our Live Tracking software running for TomTom and any other mapping software for the Pocket PC. We have two versions of the Pocket PC client: TomTom 5/6 or gpsGate versions. The gpsGate version requires gpsGate Express as a minimum. The server is a standalone application and needs XP or better for it to work. Free downloads are at www.tomtracks.com email me pete@infonote.com if you are interested. Pete Hi I've uploaded a new version yesterday. Also we now have a Pocket PC client that should work with any Mapping product as it makes full use of GPSGate. The current link is http://infonote.infonote.com/tomtracks/index.html The home page has a lin ...Show All
Windows Forms how to make a combobox read only?
hi i want to make the combo box readonly what should i do thank u MarcD wrote: Try changing the DropDownStyle property to DropDownList. This can either be done through the designer or via code. I heard this before but, IMHO setting it to dropdownlist makes it not readonly because you you stil can chance the value, the best alternative is to chance enabled to false Remco ...Show All
Visual C++ problem about font
problem about font i write CMFont class,it inheritance CFont e.g: class CMFont:public CFont {..........}; ======================== CMFont font; font.CreateFont(...); GetDlgItem(IDC_FONTID)->SetFont(&font); error error C2664: 'CWnd::SetFont' : cannot convert parameter 1 from 'CMFont **__w64 ' to 'CFont *' how to CMFont convert CFont thank:) The code is OK on my computer. But the code CMFont* font; will get your error. Do check it! ...Show All
Visual Studio [Add-in using VC/ATL] How to Get Notified by "Build Begin" Event?
I'd like to be notified when the build begin event is triggered. There are samples for such kind topic, but they are written in C#, VB... Could you tell me how to do it in unmanaged C++ (Add-in using VC/ATL) It seems that unmanaged C++ for Add-in has been forgotten by MSDN... Hi Peter, There is an automation sample written in C++, C#, and VB .Net, called EventWatcher at http://www.microsoft.com/downloads/details.aspx familyid=79C7E038-8768-4E1E-87AE-5BBBE3886DE8&displaylang=en , which you might find useful here. That being said, I've used the following to successfully intercept that OnBeginBuild event as well. // BuildEventsSink.h // Simple IDispatchEventImpl based class, used to receive t ...Show All
Visual Studio 2008 (Pre-release) Reliable Session problem
Hi, I know that after 10min without receive data the session is lost, so I have a time from client to send any data(i.e simple `KeepAlive()` method ) to server each 7min. But, sometime the server show this error : ---------------------------------------- Error Error: 100 : Timestamp: 10/15/2006 9:08:17 PM Message: HandlingInstanceID: c40e9081-16ba-4982-acf3-061a88d902cf An exception of type 'System.ServiceModel.CommunicationException' occurred and was caught. ------------------------------------------------------------------------------------------ 10/15/2006 18:08:17 Type : System.ServiceModel.CommunicationException, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : The sequence has bee ...Show All
Commerce Server ShipmentTrackingNumber display in OrderDetail
Hello, I am using components of the starter site and I would like to know if there is a way to display the ShipmentTrackingNumber in the Profile/Order history screen. Or in the OrderDetails screen. Also, i was not able to find any information on what are the expected values for status in both the PurchaseOrder and the Shipment tables. They are free text, but it is obvious that some values are preferred over others... NewOrder, Submitted, etc. Alan, thank you for your partial answer on the other thread. I am copying it here for future reference and help others: To answer your question about the Status values for a PurchaseOrder - you can find the values expected in the "AllowedStatus" table in the TransactionsConfi ...Show All
