santhakumar's Q&A profile
Visual FoxPro show certain record in gridbox
dear all, i dont want my form show ZZZZ product code that i make hardcode to my table. sele b SET ORDER TO 2 GO TOP thisform.grdSales.RecordSource = "b" thisform.grdSales.RecordSourceType = 1 thisform.grdSales.column1.Bound = .F. thisform.grdSales.column2.Bound = .F. thisform.grdSales.column3.Bound = .F. Thisform.grdSales.column1.text1.ControlSource = "P_name" Thisform.grdSales.column2.text1.controlsource ="P_code" thisform.grdSales.column3.text1.ControlSource = "Quantity" thisform.grdSales.column1.Width =280 Thisform.grdSales.column2.Width =100 thisform.grdSales.column3.Width =150 thisform.g ...Show All
Visual C# c# ide - cannot use brief or emacs emulation
According to the c# documentation the IDE should contain brief- and emacs emulation. On my system I miss all keyboard functions related to these emulations. I tried to enable it in the IDE-options but neither BRIEF nore EMACS show up in the keyboard options. I use the german c# Werner, Are you using C# Express If so, you should download and install VC++ Express as well. The keyboard schemes needed to start the emulations are not included in C# Express. Installing VC++ Express will install them and C# Express will be able to use them. If you are not using C# Express or this doesn't help, please le ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Code behaves differently on 3 different computers. ???
I have a C# application that displays fairly simple 3d models (mostly lines and a few faces). I am using Managed DirectX 9 August 2005. On one computer (the development machine) the program runs fine. On another computer, the lines don't draw (it's a call to drawIndexedPrimitives, type lineList) but the meshes do draw...and on two other computers, when I open the Form that has the 3d control, the computer freezes (before the form ever opens) and must be shutdown with the power switch. I know this is a question with not much detail...but I'm not sure how much detail is needed to be helpful. It's ...Show All
Windows Forms How to disable main window when another window pops up?
hi, My program has a main window and many small windows that will pop up when the user click some buttons in the main window.Now the user can still continue running the main window eventhough those small windows are still left open. But i'd like to disable the main window whenever there is another window form still open. For example an about box, when user opens, if don't close it, the user cannot click, or continue the main window. Can anyone tell me how to do this Thank you hi, in the button click event handler t ...Show All
SQL Server SQL CE Push ConnectTimeout
My application synchronises data with a SQL Server using RDA, the synchronisation process take place in a background worker thread. Due to the single connection limit with SQL CE 2.0 the form thread has to wait until the synchronisation process completes before connecting to the database to perform any updates or inserts. Normally the RDA push method executes quickly and the delay on the form thread is not noticeable. However CPU usage on the SQL Server can seriously affect the duration of the Push and consequently the form thread can appear to hang, not good from a user point of view. Is there anyway to set a maximum Push duration or ...Show All
Visual FoxPro SELECT - SQL executed partically
I have 11,000 directories in my machine on one partition only (C:). In order to expedite search for file I need (I found MS search engine too slow) I scan all directories once in 10 days and create a table with directory shorthands and a field where extensions of the files located there are stored. Some directories have too many various types of files and I use a memo field to store extensions for them. Thus the primary field has 80 char length but there is a logical field "overflows" that signals the fact that that the memo field should be looked into. The trouble is: my SELECT statement ignores the memo field as I just found out. ...Show All
Visual Studio Team System Proxy setting non-binding for localhost
Using declarative webtest, proxy setting is being ignored when making localhost connections. In the webtest, you can specify the proxy host&port in the webtest properties, or if your IE proxy setting is set before it is launched, it is automatically populated in the webtest. Requests do seem to be passed through proxies - except when making calls to the localhost. It looks like the proxy setting is ignored by Visual Studio when making requests to localhost. How do I tell webtest to use the proxy specified even for localhost connections In IE, under connections and Proxy Server, try unchecking "Bypass proxy ser ...Show All
Visual Basic Spread sheet, table and GroupBox
Hello Guys, Am quite new to VB and am using the Express versions. Can somebody anybody help me on:- 1. How to make the borders of GroupBoxes invisible. 2. Can I insert a table on my form without using a database. Its a 3 x 40 table. I would like it to have vertical scrollbars too.\ Please help!!! Thank you. 1. You can try using a Panel; it has the same features as GroupBox, but without the visible borders. 2. You can try using DataGridView to set up a table. To do so, drag and drop DataGridView from Toolbox onto Form. Then insert code, such as following Dim i As Integer, j As Int ...Show All
SQL Server Killer problem with Scheduled Reports
I'm running on SQL 2000 with SRS. Standard install ( I think, it was all set up by IT) I have reports that run fine in the Report Manager but when they are run through a schedule (email) some of them (albeit most) "rsProcessingAborted" because of a report error. Looking at the logs it seems generally based around comparison failure because of datatypes, eg (from the logs): Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: The processing of sort expression for the list 'List1' cannot be performed. The comparison failed. Please check the data type returned by sort expression. Microsoft.Reportin ...Show All
SQL Server Error while importing Text file using Import Export Wizard
Hi all i have text file where i can import it to excel to access or sql2000 without problem but when i import it using (sql2005 pro) i get this error message during the import O peration stopped... - Initializing Data Flow Task (Success) - Initializing Connections (Success) - Setting SQL Command (Success) - Setting Source Connection (Success) - Setting Destination Connection (Success) - Validating (Success) - Prepare for Execute (Success) - Pre-execute (Success) Messages Information 0x402090dc: Data Flow Task: The processing of file "C:\Documents and Settings\Wail\Desktop\All_Alarm5.txt" has started. (SQL S ...Show All
.NET Development .NET 2.0 Error
I have created a webservice at the location //localhost/WebSite using VS 2005 Beta 2. The webservice contains nothing but the helloWorld web method. When I run a debug I get a server unavailable error in IE and the following in the event viewer: Warning: Failed to initialize the AppDomain:/LM/w3svc/1/ROOT/WebSite Exception: System.Web.Hosting.HostingEnvironmentException Message: Failed to access IIS metabase. Error: Failed to execute request because the App-Domain could not be created. Error: 0x80131500 Does anyone have any idea why this is happening or how I can fix it If more information is needed please let me know. Thanks ...Show All
Smart Device Development Bluetooth Serial Port Profile Max Speed on Ipaq
Dear all, I'd like to receive data on a Ipaq (6340 and 4155) Bluetooth SPP connection @ 115200 baud, from within a C# or VB application. Unfortunately, despite the max speed of the BT SPP should be much higher, as soon as I open the port with a .baudrate = 115200 settings, the system raise an OutOfRange Exception, reporting the highest speed of the port to be 65536. Is there a way to bypass such a problem Thnx I don't believe speed of virtual COM actually does anything. Do you see any difference between, say, 75 bauds and 19200 In real COM that would be quite noticeable, for virtual COM this is pro ...Show All
SQL Server I couldn't access the Secondary Database after I finished Shipping Configuration
Dear All Please I need an urgent help After i finished all Transaction Log Shipping Configuration. I tried to use the database in the secondary database but i couldn't access it i saw it in SQL Managment Studio as (Restoring......) i tired to make a database snapshot from it , i had a message Msg 1822, Level 16, State 1, Line 1 The database must be online to have a database snapshot. Please urgently the secondary database is in a "Restoring" mode in this case, so you cannot take a snapshot of it. this is by-design. if you do want take snapshot of the secondary database , you can choose the & ...Show All
Windows Forms Graphics.MeasureString giving wrong size
For some reason when I measure a string I am getting the wrong size. I want to center the text in my control. It is off by a very small amount, but as you use a large amount of text and shrink the control so that the text is just short of the left hand edge, the right hand side still has quite a large gap. Anyone have any ideas Here's my code. SizeF TextSize = grfx.MeasureString( this .Text, this .Font, this .Width, StringFormat.GenericDefault); grfx.DrawString( this .Text, this .Font, new SolidBrush( this .ForeColor), ( this .Width-TextSize.Width)/2, ( this .Height-TextSize.Height)/2, StringFormat.GenericDefault); ...Show All
Windows Forms Wrong content type ?
Application: ---------------- "An unknown error has occured. Please review the even log for more information" Event log: ---------------- "Client found response content type of 'text/html; charset=Windows-1252', but expected 'text/xml'." Any ideas "Client found response content type of 'text/html; charset=Windows-1252', but expected 'text/xml'." you said &qu ...Show All
