Kailai's Q&A profile
Visual Basic Maskedtextbox
hello. A question please. how can I give the focus to a maskedtextBox Thanks. I place 2 controls on a form. A textbox (tabindex=0) and a maskedtextbox (tabindex=1). In the load event of the form I only wrote maskedtext.box.focus. I don't know why it doesn't work. ...Show All
SQL Server Flat file connection is skipping columns
The data file contains column names in the first row. Excel imports the file correctly. I can see the tabs in UltraEdit32. But...the flat file connection just skips over a column. In the preview window, it appears to skip the column entirely. However, when the data is imported, data from the non recognized column goes into a column that is mapped to receive data from another column shifting the data in to the next column. I am using the CopyColumn and the SQL Destination controls. Any ideas on how to make this work Thanks, IanO ...Show All
Visual Studio Tools for Office Office 2007 add-in problem
I have installed VSTO 2005 and also Office 2007. However, I cant find the Microsoft.Interop dll files when I am trying to develop my own customized ribbon. After searching in the web, I get to know about the Office 2007 PIA, so I download and double click to install it. However, the things still remain the same after installation progress... So, anyone has any ideas about the solution and my problem Please guide me ... thank you. Did you look for Microsoft Excel 12.0 (for example) in the COM tab of the Add Reference dialog box The PIAs appear in the COM, not the .NET tab of this dialog box. And you have to add the reference in order to access the Interop. However, if you install the VSTO 2005 SE for Add-ins and choose an Office A ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Buffer creation doc bug.
While the docs are obviously incorrect, I've yet to really use D3D10, so I don't think I can just submit a fix with the usual "report a doc bug" button. Hopefully some of you here can sort out what it should say. Topic ID: (D3D10) Creating a Resource (a Basic Guide) Under subheading " A Subresource Description", The following paragraph is present: " However, it should be noted that applications that do not initialize their buffers at creation time must create them with either D3D10_USAGE_DYNAMIC or D3D10_USAGE_STAGING flags (see D3D10_USAGE ) as only resources created with these flags can be changed by the application after they have been created." This implies all other usag ...Show All
Windows Forms Make form run in full sceen
Hi, I'm making an application what will run on a touchscreen, and the application needs to cover the whole screen, Could somebody please tell me if there is a way to do this, I would also appreciate it if you have any advise on developing touchscreen application since this would be my first one. Thank you in advance! Not much. I'm setting the Bounds to Screen.Bounds just to make sure that the form covers the task bar. ...Show All
.NET Development unable to upload image to one of two image folders.
I followed this link to do the below. I have two folders to save images. one for thumbnails and the other for bigger image. Both folders have actual images of the same sizes though. I am also writing to the database the image filename. The problem i have with my below code is in this line "Me.Imgfile.PostedFile.SaveAs(str_l_filepath)" What is happening here is i am able to save to s_folder which is thumbnail folder, i am able to write to the database. but unable to save to the other folder l_folder. Both folders reside in the same server as my project. str_s_filepath = str_s_folder & strfilename str_l_filepath = str_l_folder & strfilename 'strip the type of extn from filename Dim extpos AsInteger = strfilename.L ...Show All
SharePoint Products and Technologies Can't search within PDF files
I've installed the Adobe Ifilter 6.0 and can now search to list posted pdf files in multiple sites by querying the pdf name. I can search content within Word files, but still cannot search content within these pdf files. Is there something else I need to configure to see content within these pdf files I can't seem to find any clues to what needs to be tweaked. Thanks. I'm having the same issue. My Operating System is Windows 2003 R2 x64 with SQL Server 2005 and WSS 3.0. I'm running the latest iFilter version -- 6.0 and have verified all registry settings. Some of the pdf files are indexing properly, but I believe that the ones created with Adobe 8.0 are not indexing content at all. I assume this is a ...Show All
Smart Device Development Host Unreachable
Hi, I am using T-Mobile SDA (WM5) I am trying a ftp program. When I debug the program through VS2005 when the SDA is connected to computer, everything is working fine. I can connect to a ftp server and can download files. But when I run this on the cellphone as a standalone program without connecting to computer, its giving the following error: "System.Net.Sockets.SocketException: A socket operation was attempted to an unreachable host" I have a data connection (GPRS) and I can browse the internet. (But when I am browsing the internet the symbol "G" which signifies GPRS Connection is appearing on the top pane.) When I am running the program, it has to go through GPRS so I think "G" symbol must appear, But its ...Show All
Windows Forms How to get more info about port using System.IO.Ports.SerialPort
I need to programatically find the particular port that is associated with my device (which is connected though a USB adapter). After inserting the USB connection for the device, a new port is displayed in the Device Manager under the "Ports (COM & LPT)" heading. The new port displays in the following manner: " Prolific USB-to-Serial Comm Port (COM5) ". When I use SerialPort.GetPortNames() all I get is "COM5". I can't figure out how to get the "Prolific USB-toSerial" part that is displayed in the Device Manager. Anyone know how to grab that thanks much, Ryan Try using the SerialPort.GetPortNames() method to find out which ports are available. Yo ...Show All
Commerce Server Setting locale
Hi Could somebody point me in the direction of setting the locale for the commerce server app I'm guessing that the messageManager settings in the web.config decide what language to use, but is there anyway to set the current language in the code Thanks in advance Paul Just found the answer to my own question. There is information on how to do this on the commerce server team blog: http://blogs.msdn.com/commerce/archive/2006/11/02/starter-site-architecture-1.aspx Basically the code just sets the CurrentUICulture and CurrentCulture of the current thread. ...Show All
Visual Studio 2008 (Pre-release) Installing WCF with dotnetfx3setup
After installing using the setup program, I am woring through the WCF Hands On book and it asks to add reference to System.ServiceModel. I cannot find the System.ServiceModel entry in the list of references under the .Net tab. i am assuming you installed July CTP we discussed same issue in following link,please let me know this solution is working for you or not http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=618693&SiteID=1 -Thank you Madhu ...Show All
Visual Studio Team System TF30059 TF53010 TF53002 TF30040 -- Previously working Dual Tier installation no longer working
We are have severe fatal errors with TFS when I got to work this morning, starting sometime last night. I am having no luck searching for answers to these error codes and am having a bummer of a time trying to troubleshoot. Any ideas These messages were occurring repeatedly all night long so much that it filled up more than 16 mb of event log and unfortunately, that’s a rolling 16mb, so I lost scope on when the first one occurred and if there were any other errors at the beginning of this trouble. Also below is the output from our two tiers where I ran msiinv.exe (in case that is useful). Any ideas --- Event Type: Error Event Source: TFS Services Event Category: None Event ID: 3014 ...Show All
SQL Server DataReader output column length
Hello, I have an ODBC connection manager to a Progress database. In that database there is a column declared as a string of 10 characters long. However, some data in this column is actually up to 15 characters long. This makes my DataReader Source fail everytime I try to run my package because it sets the output column like this : Datatype : Unicode string [DT_WSTR] Length : 10 Is there any way to solve this without changing the datatype in the Progress database (that is beyond my control) tanks in advance ... renyx wrote: In that database there is a column declared as a string of 10 characters long. However, some data in this column is actually up to 15 characters long. T ...Show All
Architecture web client software factory
hi everyone, can any one tell me what is the purpose of web client software factory... thanks for your valuable information hi everyone, i cannot understand this concept.what is purpose of this and the functionaity of this webclient. where can be it used thanks for your valuable information... ...Show All
Visual Studio Express Editions Minimize to system tray
Hi, Im looking for a solution to minimize my form in the system tray and restore it from the tray. I found alot of sites that use the 'DrawAnimatedRects' function that windows use to minimize and maximize window-forms. All this codes were in c++ or vb6. Is there anyway to use this function in vb2005 Here is an Example that i found at http://www.activevb.de/tipps/vb6tipps/tipp0182.html Option Explicit Private Declare Function SetRect Lib "User32" (lpRect _ As RECT, ByVal X1 As Long , ByVal Y1 As Long , ByVal _ X2 As Long , ByVal Y2 As Long ) As Long Private Declare Function DrawAnimatedRects Lib "User32" _ ( ByVal hWnd As Long , ByVal idAni As Long , lprcFrom _ As RECT ...Show All
