vb

Extraction of parent node providing child node as input from an XML in VB

Hai everybody, This is a sample XML file I am using. <?xml version="1.0" encoding="utf-8"?> <TC_CONFIG> <Comm name="Ethernet"> <rxPort>3000</rxPort> </Comm> <Timeout value="2000"> <units>ms</units> </Timeout> <LRM Name="OsamcMainProcCard"> <Addr>1</Addr> <endian>big</endian> <ipAdd...

VB.Net: Is there something to be gained by using the Function itself to hold the return value instead of declaring a local variable?

What's best practice (in VB.Net): Function GetSomething() as String GetSomething = "Here's your string" End Function or Function GetSomething() as String Dim returnString as String = "Here's your string" Return returnString End Function Obviously, neither of these implementations make any sense, but they're just meant t...

Visual Studio Async CTP - How does it work?

Microsoft announced the Visual Studio Async CTP today that introduces the async and await keywords into C#/VB for asynchronous method execution. First I thought that the compiler translates the keywords into the creation of a thread but according to the white paper and Anders Hejlsberg's PDC presentation (at 31:00) the asynchronous ope...

Retrieve image from oracle blob field in asp vb

This is my script to load the image from the database: <%@LANGUAGE="VBSCRIPT" %> <!--#include file="db_connection.asp"--> <% Response.Expires = 0 Response.Buffer = TRUE Response.Clear Dim sql Dim rs Dim userID,str Set rs = Server.CreateObject("ADODB.Recordset") str = "SELECT b.itemimg_image FROM sct_item_image b where b.item_id...

Are .OCA files necessary for program execution?

In the system32 directory I saw an .OCX file with a corresponding .OCA file. I had thought .OCA files are used only by Visual Basic. Are they therefore unnecessary for program execution and could be removed? If they are unnecessary, why would there be an .OCA in the system32 folder in the first place? ...

How to restore the images uploaded for imagelist control in VB 6.0

Hi, I have a VB 6.0 application which contains some images inside a imagelist control. I want to know where these images get stored in the system.( because I want to use these images in another application and I dont have the images seperately in the system) So, the only way is to take the images from Visusal basic 6.0 project. Do we hav...

How to get CUSIP-Description data using Bloomberg API?

I had a look at Asynchronous data through Bloomberg's new data API (COM v3) with Python? before posting which has some pretty awesome info, but what I need is a way to create a CUSIP-Description table in a database using the Bloomberg API (to save $$$ by avoiding a CUSIP subscription) Does anyone know how to populate a table with CUSIP ...

How can i fire key press or mouse click event without touching any input device at system level

i want to fire automatic key press or mouse click event when a color appears on the screen on other application or Browser.... ...

i have some records in with different total. i want to sum it and display it in single row.

eg. i have records like this in my table. Name Date Salary Raja 01/10/2000 5000 Raja 02/10/2000 5000 Raja 03/10/2000 5000 Anu 01/10/2000 3000 Anu 02/10/2000 3000 Anu 03/10/2000 3000 King 01/10/2000 4000 King 02/10/2000 4000 King 03/10/2000 4000 i w...