|
I just like big tasks... as I sense that the basic flexibility for those classes needs to be on discussion... And I am ready to begin working on it...
Databases Engines are for help, not to orient the code... As I think that way...
And, for that... I will try to have some flexibility on those classes...
Please give me something...
Thank You!
|
|
|
|
|
E.Nando wrote: Please give me something...
I already did -> what you want to do isn't possible. You can't replace the connection manager in SQL Server, which is what you're going to have to do to accomplish this.
|
|
|
|
|
i need create a checkbox column for an existing datagrid at runtime.Then for the records which user selects from datagrid items by selecting the checkbox, that records will be updated with some user defined values in database.My problem is how to check for checked state of checkbox in vb.net 2003 windows application.
thanks
chandru
|
|
|
|
|
if mycheckbox.checked=true then
|
|
|
|
|
--> How will i control the printer to print desired number of lines using VB.net?
--> Printer (dot matrix)
--> Any clue..!
J A Nasir K
|
|
|
|
|
You can ask the user how many lines to print and then make sure you only print that number of lines in the code that actually passes your document to the printer.
That the printer is dot matrix is totally irrelevant.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Can someone recommend a book, etc. from which I can learn about interfacing with Internet Explorer from within VB? For example, I'd like to learn how to start IE, go to a WEB site, fill in a search box, command a search and then capture the results all from within a VB program.
Would appreciate any suggestions you can offer.
Thanks,
Dennis
|
|
|
|
|
You would do this by placing a web browser control on your form, so you can interact with it, and then use the DOM to find your controls and interact with them. Of course, once the page you're working with changes, your code could well break.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
How to run a crystal report and export as pdf and save the pdf in a specific location with Windows Programming
|
|
|
|
|
Hi
Try this code.. may Solve your problem.
Dim warnings As Microsoft.Reporting.WinForms.Warning() = Nothing
Dim streamids As String() = Nothing
Dim mimeType As String = Nothing
Dim encoding As String = Nothing
Dim extension As String = Nothing
Dim bytes As Byte()
bytes = ReportViewer1.LocalReport.Render("PDF", Nothing, mimeType, encoding, extension, streamids, warnings)
Dim fs As New FileStream("C:\ABC.pdf", FileMode.Create)
fs.Write(bytes, 0, bytes.Length)
fs.Close()
Thanks
~Khatri Mitesh
khatrimitesh@hotmail.com
Bikaner (Rajasthan)
INDIA
|
|
|
|
|
CrystalReportViewer have options to export the crystal report in different format.
Hope this helps
|
|
|
|
|
I am reading images from a webcam, thru a Belkin F5u208 interface to a USB2.0 port. This works fine. What I need to do is poke around in the actual video data to look for certain events in that video data. I set up the display window as follows:-
hwdc = capCreateCaptureWindow("My Window", ws_child Or ws_visible, 0, 0, 320, 240, MyPicture.hWnd, 0)
Is there an API call which will take either hwdc or MyPicture.hWnd as a parameter and deliver me a real memory pointer as a Long? I can then use this as a ByRef in a procedure and access the data as an array. If no API call, has anyone actually done this, and if so, how?
ChrisM
|
|
|
|
|
enquiries wrote: Is there an API call which will take either hwdc or MyPicture.hWnd as a parameter and deliver me a real memory pointer as a Long?
Not in Windows, no. You'd need the an SDK that works with that camera.
But, a pointer wouldn't do you any good in VB.NET, or since VB.NET doesn't support pointers. C# on the other hand...
|
|
|
|
|
Dave Kreskowiak wrote: Forum:Visual Basic / VB.NET
Subject:Re: How do I get a pointer to the video data buffer when using capCreateCaptureWindow in "avicap32.dll"?
Sender:Dave Kreskowiak
Date:Friday, November 14, 2008 3:39 PM
enquiries wrote:
Is there an API call which will take either hwdc or MyPicture.hWnd as a parameter and deliver me a real memory pointer as a Long?
Not in Windows, no. You'd need the an SDK that works with that camera.
But, a pointer wouldn't do you any good in VB.NET, or since VB.NET doesn't support pointers. C# on the other hand...
Hi Dave,
Thanks for the info - we will use C for the final version, but VB is my "natural" home for messing about, and I can do it in VB6, it is not as picky as the later versions of VB.
What exactly does "hwdc" point to? A structure with pointers?
|
|
|
|
|
enquiries wrote: What exactly does "hwdc" point to? A structure with pointers?
"hwdc" is a handle to a device context. It's not a pointer. The closest equivilent is the Graphics class in .NET.
|
|
|
|
|
Hi Dave,
Yes, I understand that. I am re-reading all about GDI handle tables and how they relate to the user and the referenced object(s). My source is "Windows Graphics Programming - Win32 GDI and Direct Draw" by Feng Yuan (HP), Prentice Hall ISBN 0-13-086985-6. Not exactly bedtime reading, but there are a number of very useful tools which I used previously to identify what was going on (creating spy DLL's, APIMON etc), and some interesting analysis of bitmap operations.
The end result is heading for an embedded XP system running on a PC104 card performing realtime image analysis, so I don't mind bending the rules or creating a "one-off" special DLL.
Thanks again,
Chris
|
|
|
|
|
I created a stored procedure to return data to a data set. The stored procedure has one input param and contains a temp table for processing a couple columns (adding a join in this scenario will not work). I have a
The stored procedure works find and returns a result set as expected.
I attempt to create the new datatable in the dataset by right clicking in the designer and adding a new tableadapter.
I choose existing stored procedure and get to the last screen of the config wizard and get "Invalid object name #tmpStatusHistoryReasons".
Anyone know of a work around for this? Using framework 2.1.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
This is a known issue even in VS2008. Adding the following condition works (even though the code never gets executed):
IF 1=0
BEGIN
SET FMTONLY OFF
END
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
I have been trying for weeks now to install VB 2008 on my XP Laptop and I have never been successful...Each time i try it attempts to instal microsoft.net framework 3.5 and this installation goes on for over 6hours without any error watsoever.....i always have to stop the installation.... please I need to know if there are any known issues.....its the express edition though......
|
|
|
|
|
There are known issues where the installation stalls, but few known solutions. See this[^] post for more information and a data collection utility to help MS troubleshoot the problem.
|
|
|
|
|
Hi,
Can anybody please give me idea to replace functions 1. GetFileName 2. GetFile 3. Copy of FileSystemObject with the functions of Windows API.
As I have done using CreateDirectory() of Windows API for the method CreateFolder() of FileSystem.
Thanks,
Aleem Mohammad.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
This is a complete waste of time. The FSO uses those very same functions itself to do it's job. Like I said yesterday, you're not going to gain any performance benefit from doing this.
|
|
|
|
|
Hi,
Is there any more efficient way of concatenating the strings than using "&" for performance wise. so that I can use them in my frequently called functions.
If possible with two line code snippet or any link.
Thanks a Lot,
Md Abdul Aleem.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
http://support.microsoft.com/?id=306821
|
|
|
|