carrics3's Q&A profile
Microsoft ISV Community Center Forums Excel, Forms, and Charts
I am pretty much a beginner when it comes to VB. I need help with a project I am working on that has me ready to rip my hair out. Here is the what I need to do: When I open a workbook (excel) I want it to display a form where I can enter in the date and various data. I need that form to add that data that I entered to the worksheet in the coloumn that corrisponds with that particular information. It also needs to copy that row's for ...Show All
SQL Server Cannot access database using SQLCMD
Hello, I am using SQL Server 2005 Express. I need to run a transact-sql script file to update the database. I am getting a "Login Failed" error when I use the SQLCMD utility. I use Windows Authentication. Here is the command I use: sqlcmd -S .\SQLEXPRESS -d C:\Progra~1\MyProgram\Data\MyData.MDF -i MyUpg.SQL Here is the message I am getting: Msg 4060, Level 11, State 1, Server VAIO\SQLEXPRESS, Line 1 Cannot ...Show All
.NET Development Issue with multiple programming languages in App_Code folder
I have an ASP.NET web application that is primarily using C#. According to this article ( http://msdn2.microsoft.com/en-us/library/t990ks23.aspx ) multiple programming languages are possible. My C# code references the VB.NET code properly when I placed my VB.NET code in a subdirectory off of App_Code. (Also had to make the entry in web.config as stated in the referenced doc.) The funny thing is that the VB.NET code can't reference a C# class tha ...Show All
Windows Forms Set a DateTime Picker Control to show an empty value by default.
Hi I want to know if it's possible set a DateTime Picker Control to show an empty value when I star open my WinForm. Or what datetime control can I use to acomplish this Thanks Hi, I just saw this control on CodeProject.com: ...Show All
.NET Development c#.net XML Request via http and storing results in SQL
Hi I hope someone can point me in the right direction. What I want to do is build an application in c#.net that will fire off request to a web site that returns the results as XML. The web site that returns the results is already build. I need to know how to go about building an app that sends the request. Then stores the results in SQL. I currently do this with an application that we have purchased, but i'm sure there must be a way to ...Show All
Visual Studio Express Editions Formating of numbers and dates on text data binded controls
How to format numbers and/or dates on text data binded controls DataGridView has this properties but I cant found (if exists) on text controls. Regards. Thanks. I thought that there was somewhere in the dataset where you set this. Regards. ...Show All
Visual Studio 2008 (Pre-release) Open a window in front of the current one with the mouse Event
The window opened in Button Click Method is displayed in the front of the parent Window. void OnButtonClick(object sender, RoutedEventArgs e) { MyWindow window=new MyWindow(); window.Show(); } But, when i tryed the mouse, the new window is at the behind. void OnDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e) { MyWindow window=new MyWindow(); window.Show(); } How ...Show All
Visual Studio Tools for Office Enable/disable popups in main menu
Hi; We have an Add-In where we need to enable/disable a couple of menu items based on the location of the caret in the document. As an example, think of the Cut menu item in Edit - it is only enabled if text is selected in the document. Is there any event or any other method where we can enable/disable the menu items just before the menu is displayed. Possibly an event that occurs when the user clicks on the main level menu that will cause it's ...Show All
Windows Forms Consistent form appearance from multiple developers
My software development team is developing an inventory control application. We will develop the data, business object and web services layers internally. We will outsource the Windows user interface development. This will be a Windows MDI application built on the .net framework 2.0. We are planning to outsource the UI development to several companies so that they can work on the various (Purchase Order, Receiving, Order Picking, Delivery, Custo ...Show All
Visual Studio Express Editions unable to write to db (visual basic to SQLServer (2005 Express))
Hi, keywords: vb, visual basic, sql server, 2005, express, write, read, only, readonly, insert, update, delete I'm working through Bob Tabor's excellent VB Tutorial for Absolute Beginners. I hit a snag on Lesson09. I can't write to SQL Server 2005 Express. REF: Absolute Beginner’s Video Series at http://msdn.microsoft.com/vstudio/express/vb/learning/ Using my code, Bob's code or auto created code, I can NOT write to ...Show All
Visual Studio Team System "Audio/Video Files" is invalid Source Control File Type
I attempted to add a new C++ source control file type to VSTFS Beta 3 and received the error: Failed to update file types to server myserver.mydomain.com for the following reason. TF10165: The workspace name Audio/Video Files is not supported. It must be less than 64 characters and cannot contain any of the following characters: "/:<>|* If I rename the built in type Audio/Video Files to Audio-Video Files, everything work ...Show All
Windows Forms TransparencyKey usage consuming memory
I can open up to 5 Webbrowser controls on 5 separate forms. A medium size panel control on each form is transparent. I can only open up to 3 forms before memory is exhausted. As a test, when I eliminate the transparency ...Show All
Windows Forms How do I abort or cancel a Text Box input.
I would like my program to prevent users exiting a Text Box if it fails validation. The field is part of a DataTable with a column defined as a date type. The Data Table is not linked to a SQL database or MS Access but I read and write to it from text files. This date column is databound into a Form as a Text Box. In Oracle Forms we would “Raise FORM_TRIGGER_FAILURE” and the command to exit would be aborted leaving ...Show All
Visual C# How can i verify that all the threads are aborted ?
Hello friends, Kindly fo through the following code sample, In this code, i want to stop execution till all the threads have complited their job. and i dont know how can i do this. static ArrayList FarchedContent = new ArrayList(); public static string SearchContent(string KeyWord) { objThread = new Thread[20]; for (int i = 0; i < 20; i++) { objThread[ i ] = new Thread(new ThreadStart(FatchContent)); ...Show All
Visual Basic Automate Internet Explorer?
Hi @ll, I think I'm getting crazy now. Since several days I'm trying to automate IE using VB 2005 Express - but I don't get it. The problem even starts when trying to launch IE - nothing happens. I know, there's the possibility to use the "Webbrowser" - but that doesn't help me in that special application. What I want to do is to start IE at a particular time and close the IE window again at a particular time. Here's my tr ...Show All
