|
You can use the Bitmap class. Reading the pixels is as easy as using its GetPixel method. You'll also probably need the PixelFormat property of Bitmap too. Read up on the Bitmap class documentation here[^].
RageInTheMachine9532
|
|
|
|
|
Hey all,
I am writing a program which needs to search a small network for computers and their shared files and folders, I was hoping to find a way to do this in a similar way to a logical drive, but to no avail. Has anyone got any suggestions, or ideas on how I might do this.
Thanks,
Ciaran.
|
|
|
|
|
Windows Networking support in the .NET FCL is currently, well, horrible. There is no support whatsoever.
You're going to have to use the WinNet API calls to enumerate the machines and shares. Docs on the API's start here[^].
Support for WNet should be better in the .NET Framework 2.0...
RageInTheMachine9532
|
|
|
|
|
Hi,
I am trying to develop a custom metadata editor for ArcCatalog(ArcGIS), using VB.NET. I am using a COM component into my application. i am using esriObjecLibrary 1.0 into my reference, and its a .dll project, using VisualStudio.NET 2003. this metadata editor will be a pluging into ArcCatalog.
after writing the code, when i compile the project it says "Unable to emit assembly: Referenced assembly 'Interop.StdType' does not have a strong name"..
I went to the DOS prompt and gave a strong name to the assembly and added the assembly file into my AssemblyInfo.vb file, but still its not working.
if any of you have worked on this and know much about it, i will appreciate ur help...if u have worked on similar problem using C#.NET that will be of much help...
Thanks
software Used:
Visual Studio.NET 2003
ArcGIS 8.2
VB.NET
Platform: win2k
vijay
|
|
|
|
|
Hi All,
I have a aspx page that creates a RTF document. In the rtf doc I need to create links to other webpages. Does any one know how to programatically create links in RTF. I have been trying to figure this out for 3 days with no luck.
Thanks
|
|
|
|
|
Hello everyone!
I am getting some problems with my application.
The problem is that after developing the setup of my application I have installed it to two different computers. One is using Windows XP and other uses Windows 98 as Operating system. My application works perfectly on a system having windows xp, but with system having windows 98 it gives error when my user try to print a text file. The error message says:
Object reference is not set to the instance of the object
Also the details shows that there are some problems in Print Preview control's page information.
Can anyone figure out what's the problem is?
I am confused with this problem.
I have checked many times but its working fine only in Windows XP or 2000 or higher that 98.
Can anyone help me?
Waiting for any reply.
Thanx in advance.
|
|
|
|
|
I want to generate the keys for my software in VB.NET . I have to go according to this..
1. Each key is of 16 character length.
2. The last 2 digits are supposed to represent the version of the software; besides this it has no other significance.
3. The 16-character key is divided in 2 digit pairs as shown below –
AA BB CC DD EE FF GG 10
• String concatenation of AA and DD should be divisible by 49
• String concatenation of BB and EE should be divisible by 53
• String concatenation of CC and FF should be divisible by 59
• String concatenation of EE and GG should be divisible by 67
Will anyone tell me how to generate the keys ..
If u help me with code , It will be great as i need it urgently
REgards
Miss Rajender
|
|
|
|
|
I am having a problem copying a file to a remote location using .copyfile . My coding works fine when the destination is a local path, but when using the same coding for a remote location it doesn't work. I have tried using fs.copyfile "C:\Documents and Settings\Administrator\My Documents\data.file", "C:\Documents and Settings\Administrator\NetHood\mypath.net\public_html\data.file" as well as fs.copyfile "C:\Documents and Settings\Administrator\My Documents\data.file", "ftp://username:password@mypath.net\public_html\data.file" neither of which has worked.
Does anybody know how to do this?
David Goodman
President
Diverse Computing
~He who laughs last, thinks slowest~
|
|
|
|
|
If the destination is another Windows machine that you LOCAL account has rights to, then it should be "\\machinename\sharename\dirpath\dirpath\filename"
You have to make sure that the account your using has both the appropriate Share rights and NTFS rights to the target share and directory.
RageInTheMachine9532
|
|
|
|
|
|
Well, in that case you're either going to have to use 3rd party tools/controls to connect to the linux box or use FTP client built into the Microsoft Internet Controls COM object (add a reference to it in your project) to copy the file to the linux box. Just specifying an ftp:// address in the copyfile method won't work.
EDIT:
I almost forgot. Most Linux implementation include a Windows server emulation package called Samba. This service will make the linux machine appear and behave just like a Windows machine's shares do.
RageInTheMachine9532
|
|
|
|
|
Hi All,
How to verify whether the SQL username and password are valid and have the previledge to create the database.
Regards,
A.Ilamparithi.
|
|
|
|
|
Confucious say,
"Best way to see if it can be done is to do it".
|
|
|
|
|
How can i possibly add an event to a control that has been created during run time?
For example:
Dim pb As New PictureBox<br />
Me.Controls.Add(pb)
I would like to add MouseDown & MouseMove events to the PictureBox.
***************************
Toola
"The real risk is doing nothing"
-Denis Waitley
|
|
|
|
|
use Dim WithEvents pb as PictureBox (vb6)
|
|
|
|
|
I need to store a TimeSpan value on the harddisk when the application exits, and then when it loads, read the value and convert it back to TimeSpan data type. Having tryed several methods I'm stumped. I was using StreamWriter and writing it as a single string and then tryed it as three seperate strings for hours, minutes, seconds. Then reading each string seperately, converting to Integer and setting the TimeSpan values from the Integers. no luck though.
Thanx in advance
|
|
|
|
|
If you write the value as a String to the file, you can read it back an use something like this to get it back into a TimeSpan object:
Dim newTS As New TimeSpan
Dim fileValue As String
' read the TimeSpan from the file and put it in fileValue.
newTS = TimeSpan.Parse( fileValue )
RageInTheMachine9532
|
|
|
|
|
Is it possible to control Taskbar's properties, such as Autohide and Always On Top directly using SHAppBarMessage function? Please help.
|
|
|
|
|
Please can you tell me which is the best book for starting learn Basic.Net
|
|
|
|
|
speaking as a self taught (or rather self teaching) vb.net programmer learning to program from a book with no prior programming experience(i'm assuming you have none) is quite difficult. and no one book is going to get you up and coding. rather be prepared to buy several books before you even start to code some reasonable applications. i don't mean to put you off. coding is great fun as anyone here will tell you . just saying be prepared for lots of frustration .
anyways, for a gentle intro to anything i've always found the "Sam's Teach yourself..." series to be brilliant. try "Sams teach yourself Visual Basic.Net in 24 Hours" or "... in 21 days" You could then try moving onto "Even more VB.net" in the same series or search for something a bit more complicated. One you find a place to start and learn a bit you get to know what you want to know how to do and the technical names for it and find books more about that.
Good luck
|
|
|
|
|
Get "Programming Visual Basic.NET for Dummies" mate. This book assumes you do not know anything. And teaches you like a dummy. You'll be surprised what you learn within a short space of time. To be honest with you, you will also need a great deal of time input. But it's fun.
I am also teaching myself VB.NET, I began from scratch, and have not gone too far either, but I am somewhere. I will be happy to help, that will give me some bit of home wofk as well. It's only unfortunate, until end of may I will be putting all my time in my other course that I am sitting exams for. But Keep in touch mate.
Benson
dubeben2002@yahoo.co.uk;)
|
|
|
|
|
|
Hi all,
I am a newbie to C# and currently doing an assignment using C# about invoice application. Can any one show me how i can perform a calculation on a specific column in the datagrid. Then post the total to a textbox outside the datagrid.
I am very appreciate for you help.
|
|
|
|
|
One way is to use the ItemDataBound() event. This gets called once for every row on the datagrid while it is being bound. You can then access the contents of the row like this:
e.Item.Cells(indexOfCell).Text
You will have to cast the correct type but you can either change the values of the cell based on a calculation, or you can add up all the cells using a global variable.
hope this helps,
sivlian
|
|
|
|
|
Hi all
i need code to analyze given wav file and provide data that can be used to identify the speaker.
ot in other words
Speaker identification Module in VB.net/VB/ or any simple code that can be converted to VB.NET
regards
|
|
|
|