|
Whenever I "reload" my rssdocument
as in
rssdoc.Load(rssReader);
my childnode count goes down to zero. What is up with that? I want to reload a rss feed every minute or so. What are my options?
|
|
|
|
|
|
dear all,
right now i have a final semester project. and the defination is "Operating Mobile Through PC using bluetooth connectivity"
so i wont to know how to start bluetooth programming with vb.net... so plz help me..
Chirag
|
|
|
|
|
Better buy a book and start read the concepts and try it.
and here we will help you if you get any error.
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
chirag visavadia wrote: bluetooth programming with vb.net
Good Luck!
|
|
|
|
|
Chirag - BlueTooth communication is normally done via a bit of "Smoke and Mirrors". In other words, there is no actual BlueTooth API in .NET. What you want to do is write to and read from the serial ports. This[^] article gives information on communicating with a device via BlueTooth.
|
|
|
|
|
Actually the native interface to Microsoft's Bluetooth stack (for Windows XP SP1 and later) is via Windows Sockets. However, the .NET Framework System.Net.Sockets.Socket class does not allow you to create a Bluetooth socket - it does not appear in the AddressFamily enumeration. It might be possible to cast AF_BTH (which has the value 32) to an AddressFamily , but this seems a bit (!) dodgy.
However, programming Bluetooth via sockets is pretty hard - it's a lot easier to set up a binding to a serial port profile using whatever tools your Bluetooth drivers make available.
|
|
|
|
|
Hi,
Im quite new to xpath in .Net. I have an XML-structure shown below that contain measurements(diameters,areas etc) The one below includes two different measurements of an Bi diameter and also the mean value. I now want to extract the mean value.(the <value>5.0</value> tag.
As mentioned ,the file consists of many different measurements using the same strucutre. With the following expression I manage to extract the value but then I also get all the following mean values from all of the other calculations. How do I extract ONLY that node. I would really appriciate some help thanks!
Expression:
//item/item/concept[@codValue='11820-8']/following-sibling::item/value[@codValue='R-00317']/following::value
<item valType="CONTAINER">
<concept codValue="125005"> MeasureGroup</concept>
<item valType="NUM" relType="CONTAINS">
<concept codValue="11820-8">Bi Diameter</concept>
<value>4.9</value>
</item>
<item valType="NUM">
<concept codValue="11820-8">Bi Diameter</concept>
<value>5.1</value>
</item>
<item valType="NUM">
<concept codValue="11820-8">Bi Diameter</concept>
<item valType="CODE">
<value codValue="R-00317">Mean</value>
</item>
<value>5.0</value>
</item>
</item>
|
|
|
|
|
I answered this cross-post in the XML forum. Please don't cross-post.
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
I now have several buttons on my Form, which process various Oracle select statements and even display the output in listboxes or labels. Can someone tell me if the items below are also possible in VB.NET?
1. Write a query to support using Join Statements that display data from Multiple Tables. (I was able to do a select statement from two tables and display the results in a textbox).
2. Write a query to support the project using Sub-queries.
3. Write a query to support the project using Reports and SQL statements.
4. Write code to support the project that creates and manages Tables, Tablespaces and Database Objects. (I tried editing the sample and by changing the "select department_name from departments where department_id = 10" to
create table emp2
(
emp_First_Name VARCHAR2 (100) PRIMARY KEY,
emp_Last_Name VARCHAR2 (100),
emp_years DATE,
emp_salary NUMBER (8,2)
)"
but this did not work and generated several syntax errors.
5. Create Users and Manage access to the Oracle Database. (Like add a user and the permissions for that user).
6. Code S-Q-L statements within P-L-/-S-Q-L, built-in S-Q-L functions, Cursors, subprograms, packages, triggers and error handling to support the project. ( I have found some examples on the net, but have not been able to make any work, like the ones in the samples from the link you provided).
7. Write code to employ Composite to support the project. (Is this possible?)
8. Employ and demonstrate Cursors.
As you can all see, my basic issue is that I am trying to process various queries using buttons in VB.NET and then display the results in a text box.
Any help with this, would be greatly appreciated.
Thanks again Joseph!!
vbsquire
|
|
|
|
|
Hello code Gods! I'm a newbie to VB.NET and really need some help. This may seem basic to you all, so please leave out the laughs. Lol
I'm trying build a basic VB.NET application that has a datagrid and 2 or 3 buttons. The buttons would be: CreateTable, Alter Table, Drop Table. I want to be able to run Oracle queries and perform these types of actions. I've tried 20 different samples from the net, but none seem to work. It would be great if someone could just help me with the code, for a button that would query the table and display the output in the datagrid. That would give me a great start.(Like select * from emp;). (Or create table store). Obviously I am years away from being able to provide the user the ability to enter the values, which take affect after the button is pressed, but for now, it would be a major win, if the values can at least be hard-coded.
This is really hard for a newbie and I'm starting to lose hope.
Thanks in advance to all of you! I've read many of your posts and I keep my hope.
vbsquire
|
|
|
|
|
|
Thanks so much!! I will have a look right now.
vbsquire
|
|
|
|
|
I have seen a few post on web regarding issues with getting a security update for .NET 1.1 SP1 - KB928366 to install correctly. I can not install it, as a result every reboot I get a Windows Update prompt to install it.
Has anyone had this problem and rectified it.
Thanks in advance.
|
|
|
|
|
Nope, haven't had the problem...
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
A verbose Windows Installer log might help you track down the problem. Try setting the registry key described in this KB article[^]. Unfortunately the reason for failure is normally in the middle of the log file: it's followed by logs of all the operations performed to undo the actions that succeeded before the failure occurred. Search for the words 'Action ended'. The failure should appear just above that point.
|
|
|
|
|
Hello
On Windows XP ( maybe 2000/2003 also ) , if a layered window setup with SetLayeredWindowAttributes , when its size changes , the GetLayeredWindowAttributes doesn't work , the function returns false
What should i do to get window's alpha in that case ?
Thanks
Declare Function GetLayeredWindowAttributes Lib "user32.dll" (ByVal hwnd As IntPtr, ByRef crKey As Integer, ByRef bAlpha As Byte, ByRef dwFlags As LWA) As Boolean
Dim a As Byte
Dim Flags As LWA
If GetLayeredWindowAttributes(hWnd, 0, a, Flags) Then
If Flags And LWA.Alpha Then Return a
End If
|
|
|
|
|
Hello
I want each created System.Windows.Forms.NativeWindow run in its own thread
These native windows are message-only windows and created with this System.Windows.Forms.CreateParams :
Sub New()
Dim CP As New CreateParams
'CP.ClassName = "Message"
CP.Parent = HWND_MESSAGE
MyBase.CreateHandle(CP)
End Sub
How can i do ?
|
|
|
|
|
You can specify the procedure/sub in the CreateThread, me thinks. But, I'd be careful about multithreads over form controls since it is not really thread safe...
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Hi All
This is my first ever post in a message board, so hoping for a warm welcome!
I am looking for a way to validate mpeg and avi video files without looking at the extension name. I have validated image files using the system.drawing.image class but I cant seem to find anything in .net 2 framework which will return the file type for a video file.
I would aprpreciate any pointers on this, but I dont know C, or C++
so any code example in C# or VB would be really good.
Thanking you in advance
Rai
|
|
|
|
|
The Video class in the managed Direct Show SDK ( part of the platform SDK now ) will load and play a video. Not sure if just trying to load a video with this class will verify it as being a video, or if you'd need to try and play it.
There's also the Windows Media Player control ( which doesn't require a download ), but then you would absolutely have to set it up to play a file, and you would not be able to tell if it was video or a still image.
Welcome BTW
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I am looking for a way to connect to another pc in the domain and then flash a message to them on the remote pc. Windows messenger is disabled. Is there a way to do this in the .netframework or WMI?
any help is appreciated.
Tomcoll67@msn.com
|
|
|
|
|
With the messenger service disabled, no.
You'd have to have another messaging client running on the machine to display the message.
|
|
|
|
|
|
That needs Internet connectivity and does not befit a closed LAN setup right?
|
|
|
|