Philip Wolfe's Q&A profile
Smart Device Development Validating and Validated events are not invoked for focused Control when closing modal form.
Hi, VS2005, CFv2. Its easy to reproduce this problem. Create new form Form1, drop TextBox, form1.ShowDialog, enter text in textBox1, close form (press Ok). This problem makes useless using DataSourceUpdateMode.OnValidation when bind object to form controls. Thanks, Tom. mrbelk wrote: ... the Compact Framework doesn't support the ContainerControl.ValidateChildren() or ContainerControl.Validate() methods. Am I missing something No, you're not missing anything. Thank you for pointing this out. I've updated my earlier post in case anyone doesn't read the full thread. I'm not familiar enough with the CF, but perhaps someone can confirm whether writing an equivalent "V ...Show All
SQL Server DTS : Format Problem !
I have a statement in the DTS ( Activex Script ) like this : TomorrowDate = Format$(Now, "yyyy-mm-dd") When i am running the package, i am getting the following error : --------------------------- ActiveX Script Task: undefined --------------------------- Error Code: 0 Error Source= Microsoft VBScript compilation error Error Description: Invalid character Error on Line 8 Can anyone tell me what is the solution to this error Thanks in advance. Hi vijay, Thanks. Even when i removed $ from format, still an error : Telling that : Type Mismatch "Format" ...Show All
Windows Forms hide rows in datagridview
I try to hide rows in datagridview : datagridview1.Rows[0].Visible = false; but i ve got an error in currencymanager, i ve found samples but anyone helps me well... hope someone can provide a good code sample about this. Joseph You may filter the result like this, Dim theDataView as new DataView(theDataSet) theDataView.RowFilter = "Ready=True" Me.theDataGridView.DataSource = theDataView ...Show All
Game Technologies: DirectX, XNA, XACT, etc. D3D in video conference
Hi buddies, Do you know any video conference tool that can support D3D applications I have to demo my program remotely but NetMeeting only shows an empty 3D window. Even if you get it to work it will look terrible. The screen capture almost always works by sending screen draw commands. For DirectX if it works at all it has to send multiple large bitmaps as a video. The app will generally shrink and color reduce and your demo will lose almost all its effect. The best thing you can do it make a prerecorded video with http://www.fraps.com or camtasia ( http://www.techsmith.com ) and email it to your clients in advance. Microsoft use live meeting for the MSDN webcasts and that seems to work, though l ...Show All
Software Development for Windows Vista Works with Vista
Hi all, I work for a big software company from Russia and we have boxed software which has “Designed for XP” certificate. All our appropriate files have manifest embedded and signed by Verisign trusted certificate. Installer based on MSI technology pass Full validation tests (Orca) and pass successfully all test cases described in the "Works with Windows Vista Software Logo Spec" doc. I have submitted our application for Works with Vista certificate (on WinEqual site, with xml file as a result of AppID program’s work and I send the hardcopy of our application). I have one question: can we place “Works with Vista” sticker on the boxes with our software right now Or we need something more What should we wait for ) ...Show All
.NET Development make an internet dialer in c#.Net
hello all, I am to make an application using C# .Net which automatically dials the isp(internet service provider) and connects to internet. If the internet disconnects, it redial again automatically and reconnect. It is totally new taks as I am working in web page developement and have almost no idea of such tasks. Please help me and assist me. Thanks to all indeed, ...Show All
Visual Basic SQL and variables
I am having a problem with an sql statements in my VB.net form. The DB is access and the sql is as follows: SELECT [firstname], [surname], [activityId] FROM tblTraveler WHERE [bookingID] = booking Booking is a integer variable, I am not to sure if I have entered the variable correctly into the sql. When I run it it says that there is a missing parameter. Can anyone see the problem here Thanks in advance Graham Hi, Not sure but should this be.>> SELECT [firstname], [surname], [activityId] FROM [tblTraveler] WHERE [bookingID] = booking or>> SELECT [firstname], [surname], [activityId] FROM [tblTraveler] WHERE [bookingID] = 'booking' The 2nd one assumes 'booking' is the query search string ...Show All
Windows Forms Error code 2869 with Vista
We have our application Setup program created using Visual Studio 2005 (Setup & Deployment project). Our application setup program runs fine on Windows XP / 2003, however we get the following error message when we try to run the setup program under Vista: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869. According to the Windows Installer documentation, error 2869 means "The dialog [2] has the error style bit set, but is not an error dialog." I don't understand what the issue could be here Do we need to create/build a separate installer for Windows Vista I receive the same mes ...Show All
Windows Forms hold a key...
is there a way to "codely" press and hold down a key for x amount of seconds Apparently it is a VERY special key...cuz VB doesn't even talk about it. I tried your suggestion of {fn} but I get an error that it isn't a valid key....plus I need to have a way to combine Fn with F8 to get the desired effect...the syntax simply doesn't allow something like {fn}...needs a + or % for example. I wonder if there is another way to set the LCD/LCD + Monitor/Monitor sequence rather than the Fn+F8 ...Show All
.NET Development Who is using the webservice with certificates?
Hello, I'm working on a project with client authenticate through 509 certificates. But I would like to know on runtime the user that is using the service. I've gone through all the documentation but I haven't been able to find anything. Because the reply of the service is different dependding on the user. Does anybody have any idea how to do it Thank you! Searching further I found this http://msdn2.microsoft.com/en-us/library/aa480581.aspx which gives the example for wse 3.0 insted 2.0 Hope it helps ...Show All
.NET Development Sorry if it is a stupid doubt...
Well... VS 2005 come with .net Frame Compact Framework 1 SP3 Developer, .net Compact Framework 2... Can I update it How Thanks Hi, You are correct, Visual Studio 2005 comes with 2 versions of the .NET Compact Framework. These versions are used for mobile device development for various types of mobile devices and various versions of Windows CE. I'm not sure why you would need to update those versions of the .NET Compact Framework though. There is not yet a newer version of the .NET Compact Framework available to update to. Can you clarify the scenario you are working on and why you want to update these Thanks! Aaron ...Show All
Windows Forms Display last of multiline tesbox.
HI, I developed a form where i am using a textbox, whose multiline property is set to true, scrollbars is set to both and word wrap is set to true. I will be adding data into textbox during the runtime based on the task completed, but if the data exceeds the height of the textbox, it comes in the next line, but i am not able to show the next line. Does anybody know how to display the last line into the textbox. Thanking you, 78Spit1500Fed wrote: ... though line breaks are not preserved when reading in a plain text file. What do you mean this .textBox1.AppendText("Hello\r\nWorld\r\n"); will break the line. To ouput the text literally, you can use th ...Show All
Visual Basic vb 2005 Tab(n) Printing
I an trying to set absolute positions when printing a schedule using Tab(n). which I have successfully used in vb6 i.e. (info(0,i); Tab(4) ; info(1,i); Tab(15);) an so on. I can print with Spaces and Format but each are text length sensitive which do not register correctly in the printed schedule. The numerous books do not seem to cover this point. Help would be appreciated. hemo You can control specifically where text will print on the page (in inches) directly. You don't need the 'tabs'. In your print routine, perform a DrawString on the printer Graphics object, which is passed as an argument through the PrintPageEventArgs. Something like: e.Graphics.DrawString( "Some Text" , ...Show All
.NET Development howto AppendPrivatePath in 2.0
yet another migration question from me (I'm on a theme here). in 1.1 (in 2.0 too but with a compiler warning) I can append the private path of the default app domain using the AppendPrivatePath method. the 2.0 compiler compliains that I should use the private bin path of the appdomain setup info, but the problem with this is, that thats not accessible for the default app domain. I suppose the answer would be to specify that in the app config and I suppose thats what I'll end up doing (even though thats a lot of stuff I then have to change), but wanted to look stupid by asking if there was an alternative similar to AppendPrivatePath. The AppDomain.SetupInformation does not give you a valid ...Show All
Visual Studio Express Editions Totally new to programing and having problem with data tables
Hello, please bear with me I have very little programing experience. I dowloaded visual basic 2005 express and all of its goodies, I'm following the lessons and I up to edit, deleting, saving data in tables, I followed the instructions but when i change or add data to the table in the runtime and click the auto created save button end the runtime then rerun the program nothing has changed in the table here is the code Public Class Form1 Private Sub Table1BindingNavigatorSaveItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Table1BindingNavigatorSaveItem.Click Try Me .Validate() Me .Table1BindingSource.EndEdit() Me .Table1TableAdapter.Update( Me .Database1DataSet.T ...Show All
