- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 1
I've just spent the last 3 hours trying to find some good examples.... I need to query a router using UPnP and retrieve this info: UPnPDevice::IconURL() IUPnPDevice::get_Property() IUPnPDevice::get_Children() IUPnPDevice::get_Description() IUPnPDevice::get_FriendlyName() IUPnPDevice::get_HasChildren() IUPnPDevice::get_IsRootDevice() IUPnPDevice::get_ManufacturerName() IUPnPDevice::get_ManufacturerURL() IUPnPDevice::get_ModelNumber() IUPnPDevice::get_ModelName() IUPnPDevice::get_ModelNumber() IUPnPDevice::get_ModelURL() IUPnPDevice::get_ParentDevice() IUPnPDevice::get_PresentationURL() IUPnPDevice::get_RootDevice() IUPnPDevice::get_SerialNumber() IUPnPDevice::get_Services() IUPnPDevice::get_Type Uniform() IUPnPDevice::get_UniqueDeviceName() IUPnPDevice::get_UPC() Please save my … |
|
Anyone know how to get a third party application's installation directory? |
|
I'm trying to add this XML element: [CODE]<cp:prop name="given_name" value="UK" />[/CODE] It has to be formatted exactly as above. I've tried this but it formats differently: [CODE]Dim cp = XNamespace.Get("cp") Dim newElement As New XElement(cp + "prop", New XAttribute("name", "given_name"), New XAttribute("value", givenName)))[/CODE] It formats like this: [CODE]<prop name="given_name" value="UK" … |
|
I've been trying to figure this out for a week without luck. My program needs to examine two XML docs for missing contacts, when it finds a missing contact it then needs to merge the information across. I've got the examination part working with this code: [CODE] Private Sub findAllDisplayNameMaster(ByVal … |
|
I have two databases with the same table name and identical schemas and no duplicate entries. How would I merge the information? SQL 2008 |
|
Is there a way to increment a datetimepicker's value by 2 hours? I have it set to time only. |
|
I have a listbox and a datagrid. When the form is loaded the listbox is filled with a list of tables from a selected database (SQL 2008). [CODE] sqlstr = "SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME" [/CODE] Then I have a SelectedIndexChanged that populates … |
|
So I've been coding for a few months now and I have a pretty good grasp of most things but I can't wrap my head around getting info from loops. So here is my problem. I have a text file containing text similar to this: [CODE]<domain name="proxies"> <section name="proxy0"> <setting … |
|
I have two function that replace certain strings in a text file. The first one works perfectly: [CODE] Dim readAlias As String Dim RxDIR As String = Nothing Try RxDIR = Registry.GetValue("HKEY_LOCAL_MACHINE\Software\RLtd\R", "MAIN", False) RxDIR = RxDIR + "\Bin\Configuration\alias.config" Dim sr As StreamReader = File.OpenText(RxDIR) readAlias = (sr.ReadToEnd()) sr.Close() sr.Dispose() … |
|
Title probably makes no sense :) I have a single picturebox button that I will be using to open new forms. Is there a way to set a variable and then have the button open the form name included in the variable I really dont know where to start as … |
|
Hi all, I've got my restore database code working good but was wondering if there is anyway to get some feedback from the SQL server during the restore? [CODE] Dim sqlstr As String sqlstr = "restore database " + dbNameFinal + " from disk ='" + tbBAKpath.Text + "' with … |
|
Hi all, I know I can do basic text searches to see if the text is there but I have no idea how to actually pull some select data out of a text file into a variable. I can search with something like this function: [CODE] Private Function CheckFile(ByVal FileName … |
|
Does anyone know if you can use HttpWebRequest in a Windows Service? I have a small app that checks an IP, works perfectly as a Forms App but does nothing when I convert it too a service. Heres my code: [CODE]Imports System.Net Imports System.IO Public Class Service1 'declare timer Private … |
|
Been trying to run a schema script from within vb.net. No matter how I format it I can't I just get all kinds of syntax errors: Here is my VB script: [CODE]Dim sqlservername As String sqlservername = Tservername.Text Dim SQLStr As String Dim ConnString As String ConnString = "Data Source=" … |
|
I know this is probably really easy but I'm at a complete loss and I've been unable to find anything on the web. How do I get the name of the local SQL2008 instance? Please help!!! |
|
I'm looking for some guidance on getting a list of local SQL08 Instance names in to a selection box. I don't know where to start, thanks all. |
|
I need to execute the following SQL command from within VB: [CODE]CREATE LOGIN [rx] WITH PASSWORD=N'rx', DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF[/CODE] I've been trying to find info for days but everything always deals with updating tables etc If someone could show me the connection string and have to execute the statement … |
|
Re:
I hv created setup of my project using "Setup wizard". But when i ran that setup on another m/c which is not having .NET installed on it. setup asks for .NET framework. can i include .NET Framework in my setup. Please help me out.:( Tahnks in advance. |