Waynestir's Q&A profile
Visual C++ Old dog and new tricks
I need some quick advice. What I want is a pure MFC application with controls that are rendered with the look and feel of those used on forms. I tried doing a form, but it ended up looking very unprofessional. I can get an application to "feel" the way I want using pure MFC, but then my app has that all gray VS1997 look to it. Is there some way to use the forms controls without forms For example, I'd prefer to control windows directly w/o "ancho ...Show All
Visual Studio Express Editions Can I create NT services with VB Express??
Hi, I'm new to Visual Basic and I'm trying to create a NT service with VB express. I referenced the correct namespaces and created an installer class and a class wich extends System.ServiceProcess.ServiceBase , but when I build my project I can't find my service installed. Is it because VB Express doesn't support service creation by wizard Thanks to all Emanuele Hi, VB Express does not come with Service Pr ...Show All
.NET Development Can XmlWriter validate against schema also? (.NET 2.0)
Hi, I know that XmlReader can validate XML data against XSD. Is there an option to use an XmlWriter which can validate its data as it writes it In .NET 2.0 there is a new push model validator called System.Xml.Schema.XmlSchemaValidator with methods like ValidateElement(string name, string namespace,...) and ValidateAttribute(string name, string namespace, ...) which you could easily call from your own subclass o ...Show All
Windows Forms Label Font.Size
I am placing a label onto a form programically... Label objId; objId = new Label(); objId.BackColor = Color.Transparent; objId.ForeColor = Color.Blue; // objId.Font.Size = 22; //Read Only objId.Text = "TEST"; pictureBox1.Controls.Add(objId); I can't seem to find the right way to simply change the font size. Thanks, Zath Thanks! Never had to change the font prog ...Show All
Visual C++ Platform SDK
Hi narechk! > Why is not PSDK included with Beta 2 (Express) Will it be available > in the same package when VS2005 ships It was quite convinient to have > PSDK being installed along with VC++ 7.1, since just about any program > nowadays beyond 'hello world' #includes "windows.h" et al. VC2005 Express is primarily designed to build managed apps; and therefor you do not need the PSDK. By the way: it is no problem to download, insta ...Show All
.NET Development merge two datasets
hello all, i have 2 datasets. one is filled from the remote database(Sql Server 2000) and the other is filled from my local computer sql server 2000. I want to see if the remote dataset(filled from remote server) has some updated data. If it is so, i want to get this updated data in the local dataset and then update this local dataset to the local sql server at my computer. Please write to me soon. Any other method will also be he ...Show All
Visual Studio Tools for Office Error on Visual Studio Tools for Office "v3" install
Hi everyone!!! I was really excited with the release of the "v3" June CTP, and i directly go to download it, follow the instructions and then an error raised saying this: "Error 1937.An error occurred during the installation of assembly 'Microsoft.VisualStudio.Tools.Applications.Contract,Version="8.0.0.0",PublicKeyToken="b03f5f7f11d50a3a",Culture="neutral",FileVersion="8.0.50727.146",P ...Show All
.NET Development Problem with GetHostEntry
Hi, my little program shall resolve a name or a ipaddress with method DNS.GetHostEntry, but it doesn't work fine. Dim a As System.Net.IPHostEntry a = Dns.GetHostEntry(" www.netzmix.com ") With www.netzmix.com it works fine, but with a ipadress it fires a exception. Dim a As System.Net.IPHostEntry a = Dns.GetHostEntry(" 192.166.200.220 ") Following exception comes: System.Net.Sockets.SocketException ...Show All
Windows Forms Unable to Reinstall ClickOnce Application
Dear VB Experts, I'm having issues with reinstalling/updating an application on a client's computer after an initial install went okay. I'm trying to provide an update and the client gets the following detailed error message after the initial warning saying, "Application cannot be started. Contact the Application Vendor." PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Depl ...Show All
Visual Studio 2008 (Pre-release) DLinq fails with class model implementing System.Data.IDBxxxxx interfaces
In order to have better control on executiion of data objects like Connection, Command, DataAdapater and also to support portability, I have a class model in place that implements the IDBxxxx interfaces and delegates the call to the underlying Provider objects. for e.g I have a GenericDBConnection class that implements the IDBConnection interface and delegates the calls to either a SqlConnection or a OracleConnection depending on the connection ...Show All
SQL Server Database translation to japanese
Hi, i need to translate one english data table content to japanese language. I have one table one DB called A and i need to table data to be translated to japanese and stored in table into another DB called B. i just need to know tht is it posssible to do this. if yes plz give me some hint on that. Thanks, vimal Hi, Of course, to do this accurately, you'll need a human translator or translators to rewrite the English text i ...Show All
Visual Studio 2008 (Pre-release) PeerNet support for server OSs?
What's the story on getting PeerNet support for server operating systems like Windows Server 2003 The more I look at PeerNet, the more I like it--not for consumer Napster type applications, but as a great way to provide publish-subscribe communications for the enterprise. But if it's only supported for client OSs, that's going to be a setback. Is there (or will there be) a download of PeerNet available for server OSs David David, ...Show All
SQL Server Source and Target - Both Behind Firewall using NAT
In this situation do I need a proxy or forwarder at both ends to prevent connection issues Are there plans to handle this in future SSSB upgrades. Thanks. I'm not sure I understand the question correctly. Just for NAT, you need to enable port forwarding on both NAT devices (firewalls), and the routes should point appropiately (to each other's firewall). When you mention forwarders, you refer to SSB forwards ...Show All
Visual Basic Parsing/extracting multiline fields
I have a very large sequential file in which each data field is delimited by the same unique string (//, specifically). Each field of data is multiline. I would like to iterate through the file, extracting each field of data for purposes of parsing subfields and recording the offset of each field of data. Unfortunately, I can not identify a method that extracts/parses data fields that span multiple lines. TextFieldParser seems like a nice opt ...Show All
.NET Development DataGrid... not displaying all rows
Hi, The below code works asis, but I would like leave out certain rows. How is this done Thanks a bunch. <asp:datagrid id="Datagrid1" runat="server" DataKeyField="Vehicle"> Columns> <asp:BoundColumn DataField="Class"></asp:BoundColumn> </Columns> <Columns> <asp:BoundColumn DataField="Teacher"></asp:BoundColumn> </ ...Show All
