Cezar Felipe's Q&A profile
Smart Device Development Connect with GPRS programatically for Pocket PC Client application
Hi All, I am developing Client Server TCP/IP based application in VB.Net. My Client Application is Smart Device application and going to be run on PDAs. This Client Application will connect with my server via TCP/IP using sockets. My Server Application is win form based application and going to be run on our server. Problem: { My Client Application needs GPRS to be connected. So, if GPRS is not connected, we have to do it manually. I am looking for the way where i can first check status of GPRS and then if it is in disconnected mode, i can connect is automatically using code. } I searched on net for the same and somewhere I found about Connection Manager Class of Open Net CF. But i didn't get any exact way or code sample to do it. I als ...Show All
Visual C++ I am use to vb6 and pure visual basic using visual basic express now
But it seems to be all in c language doesnt visual basic express support the typical visual basic language And if so how do I configure it to do so, and find info on winsock and other things that is related for visual basic and not c language crescens2k wrote: Hmm, well, VB2005 is definitely VB. Are you sure you are not loading VC++ or VC# by mistake Public Sub Test(ByVal InputNum As Integer) Select Case InputNum Case 0 MessageBox.Show(InputNum.ToString(), "Output") Case 1 MessageBox.Show(InputNum.ToString(), "Output") Case Else MessageBox.Show("Invalid Number", "Output") End Select End Sub But things like that don't feel ver ...Show All
Smart Device Development Japanese Text
Hi All, How can I display japanese text It works in VS2005 using the default Segoe font if I use it in a label, but when it runs on the device I get square boxes. Thanks Rael 1. does the device have a Japanese character set installed is the culture set to ja-JP 2. consider using unicode values. ...Show All
.NET Development XML doctype
Is there a way to add a doctype to a xml using dom, and the DTD to be SYSTEM XmlDocument d = new XmlDocument(); XmlDocumentType doct = d.CreateDocumentType(...) Seems to work only for a public DTD. Is there a solution or I should try a different aproach You should pass a non-null systemId parameter to the XmlDocument.CreateDocumentType method: .cf {font-family:Courier New;font-size:10pt;color:black;background:white;} .cl {margin:0px;} .cb1 {color:blue;} .cb2 {color:teal;} .cb3 {color:maroon;} using System; using System.Xml; class Sample { static void Main() { XmlDocument doc = new XmlDocument (); XmlDocumentType doctype = doc.CreateDocumentType( "book ...Show All
Windows Forms DataGridView vs DataGrid vs VB6 DataGrid
I have a project that I am upgrading from a VB6 application. In VB6 I used a datagrid to display my recordset: Set DataGrid1.DataSource = rsTB Now I am using VB.NET I am trying to do something similar I can call this line using a DataGridView dgvMain.DataSource = rsTB But nothing is displayed. I have even tried to use a DataGrid but get the following error: 'Complex Data Binding accepts as a data source either an IList or an IListSource' Does anyone have any pointers to get me going Thanks Try this Dim da As OleDbDataAdapter = New OleDbDataAdapter Dim ds As DataSet = New DataSet da.Fill(ds, rsTB, "rsTB") dgvMain.DataSource = ds.Tables("rsTB") ...Show All
Internet Explorer Development ActiveX Modal Dialogs do not work in IE7
Our product is suffering some pretty severe problems because of IE7. We've starting getting calls that dialog windows become hidden. We've heard this is a threading issue. We found out that the problem is actually much worse. Modal dialogs don't seem to function correctly in IE7. You can recreate the problem using VB6 by doing this: 1. Create an ActiveX UserControl project. 2. Add a form to the project (form1) 2. Put a button on the user control (usercontrol1). 3. Add this code to usercontrol1. Private Sub Command1_Click() Dim objForm As Form1 Set objForm = New Form1 Call objForm.Show(vbModal) End Sub 4. Build the project as an OCX somewhere on your hard drive. 5. Find your control's CLSID in regedit. I ...Show All
Visual Studio Express Editions I'm an absolute beginner to programming and need some advice
^^^^^ I've been reading alot about vb and i'd like to know which program to buy. I've heard vb studio/express is the way to go. I just need something user friendly and compatible with all vb langauge, excluding C langauges. Any links to help me on my way would be appretiated. Btw Your forums could do with a "beginner's forum". Thank you for your help // I just need something user friendly and compatible with all vb langauge, excluding C langauges. That's a tautology, VB, by definition, incompatible with 'C languages'. However, I brought it up to also point out that C# and C++ are also totally incompatible with one another. In fact, a person who learns VB.NET is in a better p ...Show All
Windows Forms Dataset Designer: "Unable to find connection MyConn (MySettings)1 for object 'MySettings'"
Everything was working well yesterday, but today when attempting to open and preview one of the queries of a tableadapter in my application's most crucial dataset, generates this error: "Operation failed." "Unable to find connection 'MyConn (MySettings)1' for object 'MySettings'. The connection string could not be found in application settings, or the data provider associated with the connection string could not be loaded. .' I've searched these forums, newsgroups, google and come across a few examples of where the dataset designer has inserted additional connection lines within the xsd. However, this doesn't appear to have happened here. If I get the latest stable build in its entirety from SourceSafe, I sti ...Show All
Visual C++ Creating Calucator In VC++
hi friends, plz help in creating a calculator with VC++ http://72.14.253.104/search q=cache:rdPO8TgVO50J:www.codeguru.com/csharp/csharp/cs_misc/userinterface/article.php/c12205/+create+a+calculator+in+VC%2B%2B&hl=en&ct=clnk&cd=5&gl=in ...Show All
Visual Studio Express Editions datetime trouble
Hi! I'm using VB.NET 2005 Express Edition under Windows XP. In a clean project I write: Dim myDate As Date myData = CDate("12.05") myData = System.DateTime.Parse("12.05") both instructions return the exception: "Index was outside the bounds of the array." Source: "mscorlib" The same if I try to convert/parse a date such as "3/4/06". Thank you, Marco Trapanese / iw2nzm nobugz wrote: Umm, the only Italian I know is the Pope. Except that the Pope is German, not Italian. ...Show All
SQL Server How to determine package's executing folder?
I should have written this down when I came across it -- but I recently saw an example of how to determine a package's currently-executing folder. Can anyone help Thanks! - Mike Jamie Thomson wrote: Can you elaborate on what you mean by "the current executing folder" -Jamie Thanks, Jamie -- sure, the folder where the DTSX resides as it executes. Here's the situation -- the DBAs want to put all the packages I've prepared into a single folder. The "main" package calls each of 42 "sub-packages", one after another. I'm planning to use the Execute Package task for each of the 42, and set it to "File system" to reference each of the ...Show All
Windows Forms Using Spy++ to Assist with Automated Testing
Hello: I can't tell you how glad I am to know that there are so many Spy++ enthusiasts out there. I only discovered the tool last night, and thought it was truly awesome that the tool detected an app that I was debugging from VSTS (which is incredible, by the way). Anyway, I started the app, and intentionally caused an error, which in turn, launched a MessageBox. Spy++ was able to detect both my app, and the error message (MessageBox). How can I now use information supplied by Spy++ to simulate clicking the OK button on the MessageBox Wish to do automated testing and I am pulling scenarios from a database, so that I can test numerous inputs at once. The messageboxes popup by design. I don't wish to suppress them ...Show All
Visual Studio BizTalk Project Type
Does anyone know how to gain access to a biztalk project within GAT. The normal VSProject project1 = referringProject.Object as VSProject just throws an error as it cant recognise the project format which is specific to biztalk. On a related question, are you binding recipes to a BizTalk project type I don't have much (any) experience with BizTalk but I guess they implement a custom project flavor, which means most probably you need to know their custom GUID:ID pair in order to be able to bind recipes to it. If you have done this, could you share it with the community :-) thanks!, -Victor. ...Show All
Windows Forms Form_FormClosing behavior
I have an event that closes the main form (the app essentially). However the app could be busy (same thread) with 2 potentially long running methods called from a timer. When Close() is called (from another class or from a callback in the same form) does it wait for these methods to complete Figured.. Going to have to re-design to: Method1(); Method2(); this.Close(); ...Show All
Visual Studio Convert Multiple Rows into One Row in Crystal Report
hi Forum i have a table like SNo Subject 1 C# 2 Vb.Net 3 Asp.net 4 CrystalReport and i Want to Display Subject Column in Crystal Report Like C#,Vb.Net,Asp.net,CrystalReport How Can i do thanking u in advance I would say that you could format the detail section of the report, to use multiple columns. That is a close aproach to that you want to do. Use the section expert, select the detail section, and there is an option in there for Multiple Columns. Set the widht of the column and that's it. ...Show All
