Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
1
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Merovingian

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 …

Member Avatar for TnTinMN
0
242
Member Avatar for Merovingian
Member Avatar for Merovingian
0
111
Member Avatar for Merovingian

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" …

Member Avatar for Oxiegen
0
101
Member Avatar for Merovingian

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 …

0
43
Member Avatar for Merovingian

I have two databases with the same table name and identical schemas and no duplicate entries. How would I merge the information? SQL 2008

Member Avatar for sknake
0
37
Member Avatar for Merovingian

Is there a way to increment a datetimepicker's value by 2 hours? I have it set to time only.

Member Avatar for TomW
-1
70
Member Avatar for Merovingian

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 …

Member Avatar for sknake
0
131
Member Avatar for Merovingian

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 …

Member Avatar for GeekByChoiCe
0
154
Member Avatar for Merovingian

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() …

Member Avatar for Merovingian
0
119
Member Avatar for Merovingian

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 …

Member Avatar for EvolutionFallen
0
182
Member Avatar for Merovingian

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 …

Member Avatar for Merovingian
0
153
Member Avatar for Merovingian

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 …

Member Avatar for Merovingian
0
110
Member Avatar for Merovingian

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 …

Member Avatar for Merovingian
0
388
Member Avatar for Merovingian

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=" …

Member Avatar for Merovingian
0
178
Member Avatar for Merovingian

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!!!

0
55
Member Avatar for Merovingian

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.

0
53
Member Avatar for Merovingian

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 …

Member Avatar for Teme64
0
120
Member Avatar for dandanepallavi

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.

Member Avatar for Merovingian
0
153