TheresaKad's Q&A profile
Visual Basic How to convert delimiter base text file to .mdb
Hi, How to convert delimiter based text file to mdb. Actually I need create table structure also runtime. If any has coding like that pls send to me ASAP by Thiaygu Dim Myconnection As New OleDb . OleDbConnection ( "ConnectionString" ) Dim NumberOfFields As Integer = 2 Dim Delimiters () As String = { "," } Dim Fields ( NumberOfFields ) As String Dim MyInsertCommand As New OleDb . OleDbCommand With MyInsertCommand . CommandText = "Insert Into MyTable Values( , )" . CommandType = CommandType . Text . Connection = Myconnection . Parameters . Add ( "P1" , OleDb . OleDbTy ...Show All
Visual Studio Express Editions learning the toolbox
Hi In the toolbox of vb 2005 express there are so many tools to learn. Can anyone suggest where to find a tutorial which can help with examples of using these toolbox features. Thanks Rob Hey, I think the online msdn help is a best way to learn about everything. use this link http://msdn.microsoft.com/library/default.asp url=/library/en-us/VBRef98/html/vbmscLROverview.asp On left side just in the middel you can choose Reference and then Controls Referece. You can open Intrinsic Controls and ActiveX controls to find about your desired control box . And about their's name in the VB environment just drag your mouse pointer on the control so you will found the name of that control, and then find it in the ...Show All
SQL Server Querying Dimension with MDX
How do I get the min and max day values from the time dimension of my cube I can get all the days from the time dimension with this MDX query: SELECT {} ON COLUMNS , [Date].[Raw Day].Members ON ROWS FROM [My Cube] How do I get just the min and max days Thanks in advance! Hopefully the [Raw Day] hierarchy is ordered by date. Then you simply need first and last member of that collection. Many ways to do it, for example: SELECT {} ON COLUMNS ,{ [Date].[Raw Day].[All Days].FirstChild, [Date].[Raw Day].[All Days].LastChild } ON ROWS FROM [My Cube] ...Show All
Visual FoxPro Philadelphia VFP User Group--Wednesday, November 15
The next meeting of the Philadelphia Visual FoxPro User Group will take place next Wednesday, November 15 at 7 PM at Valley Forge Pension Management, 715 Twining Road, Suite 202, Dresher, PA 19025. Admission is $5. BYOD (Bring your own dinner) worked out well last month, so those who want should bring something to eat and can arrive as early as 6:30. The shopping center across the street has places for pizza/steak, Chinese and Indian, as well as a supermarket. This month, we feature the return of Open Mike Night. Bring a tip, a question, a demo, anything you want to share. In addition, we'll have a review of the Southwest Fox conference and a code review. Door prizes include a copy of DBi's Studio Control ...Show All
Visual Studio Team System Backup for a single team project
Hi we are using a single server for multiple team projects (each is a different group). we currently have a full & continues backup for the whole DB. The problem is that if we need to resotre only one TP it will have to include all the others as well. Is there a way to set a backup for only a single TP and if not what's the best practice for handling this situation thanks, Guy Currently there's no way, but it's something we're targeting for a future version. http://blogs.msdn.com/vstsue/archive/2006/06/16/634415.aspx ...Show All
.NET Development SendKeys and DirectX
I've been trying to send keystrokes to a directx application, however normal sendkeys does not work. Assuming this is because DirectX is its own virtual domain, or the keyboard is exclusive to the application, is there anyway to send key strokes using direct input or similar No problem, each instruction in the SendInput array is a single event, so presses and releases need different instructions, just set the flags of the INPUT struct as required. The following example simulates CTRL-C, which I used to obtain text from a control in another application (which was a custom listbox and didn't respond to the LB_GETTEXT message) by copying to the clipboard. Code Block ...Show All
Windows Forms How to change size of text box when form is maximized --->
I am creating a web browser, but when I maximize the Form, I need the controls to resize so that they reach the end of the form, and vice-versa for minimization. Please help!!! ...Show All
Windows Forms How to disable Virtual Directory Textbox in Web Setup project?
Hi, How to disable the Virtual Directory Text Box in the Installation Address Dialog of Web Setup project as I do not want the user to change the Virtual Directory name during installation Please help me in the regard. Thanks in advance. This thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1263534&SiteID=1 ...Show All
Visual C# DataReader Read Data
private void BindTheCombo() { sqlcon= new SqlConnection(Tools.sqlconstr); sqlcom= new SqlCommand("select CityID,CityName from Cities" ,sqlcon); sqldr=sqlcom.ExecuteReader(); while (sqldr.Read()) { oDDLil.DataTextField=dr(0); //error oDDLil.DataValueField=dr(1); //error } } I bind to data to dropdownlist What I should do Thanks For Help 1-Another option to use datatable.Load() method 2-when you want to read from datareader use [] not() SqlConnection cn = new SqlConnection ( "Data Source=localhost;Initial catalog=northwind;integrated security=sspi" ); cn.Open(); SqlCommand cmd = new SqlCommand ( "Select * from Customer ...Show All
Visual Studio 2008 (Pre-release) Any Changes on dataContractSerializer for RC1?
Im doing the same thing as http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=248320&SiteID=1 with RC1. need to load the type at runtime. here is my configure section < system.runtime.serialization > < dataContractSerializer > < declaredTypes > < add type = " myNS .BaseObject,TrackService,Version=1.0.0.0, Culture=neutral, PublicKeyToken=null " > < knownType type = " myNS.MyObject,TrackUpdater,Version=1.0.0.0, Culture=neutral, PublicKeyToken=null " /> </ add > </ declaredTypes > </ dataContractSerializer > </ system.runtime.serialization > I add it both in the service and client. but it still complaining at the receiver ...Show All
SQL Server Sql Server 2000 connection problem
Hi all... I'm getting some problem while am connecting to my Sql Server 2000. I have design an application in vb.net and using remoting (Tcp Channel). But while connecting to the server am getting "your server is not confiured to allow remote access" can anyone help, thanks.... Im also behind a Firewall specifically WINGATE 6.1..i tried to add port to the firewall and have it redirect to my actual database server say 192.168.0.111 but nothing happens at all. any similar problem ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA networking help
Hi, I ' m just starting to work with XNA and I'm having a doubt planning my project. I would like to make any application (for example the Space Invaders) and develope a multiplayer on-line version for this. What would you think it could be the best idea for this I have thought on these ideas: -Using the libraries of System.net for send messages between two players, but it could be very slow... -Use an existing game server (a game engine, that includes everything related with communications etc) and try to connect this with XNA game. I am looking for a free-source game server, to include my xna game in any place, but I haven’t found anything.... Do you know any way to solve these Thanks! I ...Show All
Windows Forms Host Controls in Windows Forms DataGridView Cells
Hi all, I'm trying to create a new cell within the new DataGridView (.NET 2 Beta). For example, I'm trying to create a cell which contain a RichTextBox, I succeed with the appearance of the rich text box controll but there is a lot of irregular behavior. Does someone did it already(not particular with RichTextBox) and can send an example. Unfortunately Microsoft example in the link below doesn't accessible. http://whidbey.msdn.microsoft.com/library/default.asp url=/library/en-us/dv_fxmclictl/html/e79a9d4e-64ec-41f5-93ec-f5492633cbb2.asp 10X in advance, Nir Oren Hi, I used the code above to embed a control of my own. It's a control based on a textbox, but which shows a form with a listbox underneath it to help the user input dat ...Show All
Visual Studio Team System Adding web part on Home page Team foundation sever
Hi, I was trying to add default web parts on home page but i am getting following error : An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily disable Web Parts or remove personal settings. For more information, contact your site administrator. I can add these web parts on other newly created pages but not on the home page. Please help. Thanks, Ravi Per another thread on the same issue, a Sharepoint SP2 fix might take care of this. http://support.microsoft.com/kb/915746 If this doesn't fix your issue, I'd recommend posting this question on one of the Sharepoint forums. ...Show All
SQL Server Semi-Additive Measures not supported in MS SQL Standard Edition SKU
The Semi-Additive Measures feature of MS SQL Server 2005 is not supported in its Standard Edition SKU. How do solve this issue What editions support the feature You need to purchase Enterprise Edition SKU. This is documented here: http://www.microsoft.com/sql/editions/enterprise/comparison.mspx ...Show All
