Eddie NG's Q&A profile
.NET Development why wont a new dataset add/import data ?
Hi Very new to VB and have express edition 2005 clean installed(no prior version). Following downloaded video instructions ( Lesson 9) I created database and some data as instructed. . Then "add a new datasource" which brings up the tables which I then tick for inclusion. Click to finish but then I get the message " Could not get type information for .... ( my database name) " The dataset name appears in the solution window and it can be opened to view the list of "fields" .You can ask to preview data from here but this brings up same error message. As far as I can see all properties are exactly ...Show All
SQL Server Issue with 2003 virtual server and ASP.NET 2.0 Application
I'm using Sql server 2005 Express. my connection string is as fallows: Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ccinfo.mdf;Integrated Security=True;User Instance=True When testing this website on my local computer everything works fine. But then I uploaded it to my server... dun dun dun.... Its a godaddy virtual server running windows server 2003. When I try to connect to the database stored in my app_data folder I get this error message: 'Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile o ...Show All
SQL Server knowledge about SQL Server Express
I don't have any knowledge about SQL Server at all... I wanna know: 1. What is SQL Server 2. Have SQL Server something to do with databases and Microsoft Access to do 3. What is the link between Visual C++ Express Edition and SQL Server Express Edition 4. Where on the web can I learn (tutorials) how to use SQL Server Express Edition 1. What is SQL Server SQL Server is a DataBaseManagementSystem used to store and manipulate data. 2. Have SQL Server something to do with databases and Microsoft Access to do SQL Server and Access are both DBMS. SQL Server is just a much or advanced DBMS. 3. What ...Show All
SQL Server SAN Replication
I'm wondering if the technology exists to use SAN replication for sql server 2005 disaster recovery. I have a bunch of prod servers I want to add to a san, I then want to have another bunch of servers at a dr site connected to another san. Is there a technolgy ( non sql ) to enable full ( real time ) san replication of the data ( for SQL Server databases ). I don't need alternate suggestions, this solution has been proposed to my clients, I don't think it's available, any confirmation one way or another would be very helpful, thanks. Yes, I am working with the HP tecnology Continuos Acces ...Show All
Visual FoxPro passing parameters to vfp com servers using createobject
Is it possible to pass a parameter to a vfp com server using CreateObject("COMServer.Class", eParameter) It seems to me that whatever I pass in eParameter it is always .F. within the INIT method and PCOUNT() always gives 0. Regards Darren Woodford Woodford Computer Systems Ltd http://www.woodfordcomputers.co.uk Thanks for the clarification Craig. Be nice if the VFP help said that. :D ...Show All
Visual C# Why are my Toolbox components dissappearing or unavailable?
All of the components in my Toolbox window are greyed out and my custom installed tools tab has dissappeared. The only way I can regain the use of the components is to exit VS and restart. I have made sure the components are checked in the "Customize Toolbox" window. Can anyone shed some light on what is going on mihooper, Can you please give me some more details on how you get into this state 1.) Which edition of Visual Studio are you using 2.) What project were you creating or have opened 3.) Does this happen every time you use Visual Studio 4.) What happens when you right-click on the t ...Show All
Smart Device Development files on remote computer?
Hi. Wondering if there is a way of retrieving files/directories etc... using the .NET classes I would like to retrieve this information on my remote computer (local computer which has the mobile device connected to it) I can connect using tcpclient but when i try to get a list of files/directories using: string [] theFiles = Directory.GetFiles("\\ComputerName\drive$"); I get an IOException. However the IOException does not give me any error messages, no innermessage or message! It's just "IOException" Is there a way to do what I want running .NET Framework 1.1 (WM2003SE) Thanks! what do you mean "sometimes it can/can't" ...Show All
Windows Forms Problem DataBinding A MaskTextBox Control
I have a MaskTextBox control I'm databinding to an entity (social security number mask). This works for displaying the data, and I can edit the field just fine. Unfortunately this locks my form and I can't get the cursor to any other controls. I have to kill the app with CTRL-ALT-DELETE. Anyone else have this problem I'm doing the same sort of databinding to regular TextBox controls on the same form and they work just fine. Fixed it. My data object is sending a char[10] value to the masktextbox as the SSN is completely numeric, no hyphens. However, when the MaskTextBox returns its value back to the busine ...Show All
Visual FoxPro MSComctlLib.TreeCtrl.2 BackColor ???
MSComctlLib.TreeCtrl.2 does not have BackColor property. Is it possible to define one (it is of course possible) and actually make it functionable Thanks. DECLARE LONG SendMessage IN User32 LONG nhWnd, INTEGER Msg, LONG wParam, LONG LPARAM SendMessage( THISFORM .TreeView1. HWND , 4381, 0, RGB (255,255,192)) ...Show All
Windows Forms User control
Hi, I have a user control , that contain a datagrid a few buttons. i want attach a property, which is a collection like an items collection in combobox. And want to enter values in design time. how to do this .. thanks in advance. ...Show All
.NET Development Generic's - Collections
Hi all, I aint too cluded up on Generics yet, but let me give you a run down on my problem so that you can advise me if Generics is the way for me to go. OK - I have a a couple of collection classes that inherit from CollectionBase. These collection classes all have the same property members that I have overriden,, such as Add, Remove (Overloaded), this, etc etc. I may be going down the wrong route with Generic's here, but could I have one Collection Class with these Property Methods that holds generic Types, and then do some running conversion to the appropriate types Am I going down the right path with this Tryst The idea behind ...Show All
Microsoft ISV Community Center Forums Inserting information from a Userform to a text box
I have a Word document that asks for the same information several times. What I want to do is create a user form that asks for that info once then when I click add it puts it into the word doc in those specific locations. I thought using text boxes would be the best way to go. But how do I tell it that I want the info to go there Thanks Tiger Hi Tiger There are several ways of doing this. I've used bookmarks and inserted information after these, but I like the following method where there are multiple places to put the same information because it is easier to create the initial document and ea ...Show All
Windows Forms Stringbuilder questions
This may seem like a stupid question but is there are way you can have an array of strings using stringbuilder Well, the stringbuilder is used to create a single string object. You could use the stringbuilder to build several strings and then store all of those in an array; but the builder itself doesn't create arrays. What exactly ...Show All
Visual Studio Tools for Office Fire event when mail is arrives in sentmail folder
Hi All Hope you can help I want to be able to access an email that has just been sent. To do this I need to know when an email is added to the sentmail folder. I am using VS2005.NET and VSTO with Outlook 2003. The project is in Visual Basic. I have seen this sort of thing in c# public void OnStartupComplete(ref System.Array custom) { // add the handler to default folder's ItemAddEvent... mapi = outlook.GetNamespace("MAPI"); inbox = mapi.GetDefaultFolder(Outlook.OlDefaultFolders.olF olderInbox); inbox.Items.ItemAdd += new Outlook.ItemsEvents_ItemAddEventHandler(InboxItems _ItemAdd); } but can't seem to convert ...Show All
Visual Studio Team System Office pluging for VSTS
Hi, I want to use VSTS for bug tracking. I dont want my testes to install visual studion on their machines but i want them to use bug tracking of VSTS for logging the bugs. As they can log the bugs usning Excel and publish it to VSTS project, Can i get the VSTS plugins to microsoft office without instaling Visual studio. Or is it mandatory to install visual studio to see VSTS related plugins for office If i dont have visual studio installed i cannot see VSTS related pluging. Can i still get those plugins without installing visual studio Thanks in advance. Regards, Jayashree If yo ...Show All
