|
If you want to use ASP.NET web application in your intranet to share the calendar over the network, try to read the information from here.[^]
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
hi,
I have 2 tab pages. On each tab, I put a checked list box and fill data to each checked list box on form load.
When switching between 2 tab pages, it seem the checked list box is filled data again. So, all the items that I checked in the previous tab page is lost when I come back to that tab.
How can I solve this problem? (the checked item is losing when I swith to another tab and come back).
Thanks.
|
|
|
|
|
write this line at the tab click procedure before showing the other tab
tabcontrolname.bindingcontext = me.bindingcontext
ur problemwill be solved
|
|
|
|
|
Thank you for reply me.
But where should I put that line? Under TabControl_Click or TabPage_Click?
I try 2 way but there's no way. Please explain more details.
Thanks.
|
|
|
|
|
On my VB.NET Windows form, I want users to select a color, which will later be the background color of an excel sheet's cell. Now when placing the color in an excel cell, the red and bleu values are switched.
Is there a way to convert the ARGB to a RGB value? Like, i want to have the values in three seperated integers obviously red, green and blue in values between 0 and 255
thnx in advance!
EddyStyle!
|
|
|
|
|
Damn this is simple... after some real fooling around on the web and through some msdn file, I noticed an color object as R, G, and B properties, which represent exactly what I want...
Color.R
Color.G
Color.B
job's done!
|
|
|
|
|
Dear Memebers,
Wishes to all !
This is akszn.
Here i am looking for some tips to create my own utility to autofill the contents in a web page fields.
Please suggest do anybody have developed it yet. If somebody have any Idea about it. please let me know.
To know more about google toolbar please visit : http://www.google.com
I want to know can we create that toolbar like google and how ?
Please spare your time to reply this post, its urgent
With Regards
|
|
|
|
|
erhm, I don't know the exact code, but I know that several examples and samples ARE available for such a control. Search this site for controls, you'll defenitly find one!
|
|
|
|
|
Hi Folks!
I have a BIG problem, i can't work further because of a little thing who doesn't work...!
I want to draw a Line in a VBA Makro but it doesn't work!
The function from PictureBox -- Image.Line(....) -- is not existing!!
Is there another way to draw a line in a picture in VBA?
I have only the x / y koordinates form start an end and between these a wan't to draw a line, i don't need more!
I hope soooooo much that there is a (easy) way to draw such a line!!!
Please help me!!
Thank you very very very much!!!!
Greetings, Ronny
|
|
|
|
|
Draw a line on what control? In what application?
You can draw a line in a PictureBox using it's Line method, but you can't on an Image control.
Line Method
- PictureBox control[^]
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I'm getting this error "Object reference not set to an instance of an object. "
when I'm trying to pass an arraylist into a procedure
Here's the code:
Dim AstrFilenames As New ArrayList<br />
Dim BoolSuccess as boolean<br />
BoolSuccess = ClsZipFiles.CreateZipFiles(AstrFilenames, Val(loadid.Text))<br />
'Here's the declaration of the function<br />
Function CreateZipFiles(ByVal AstrFilenames As ArrayList, ByVal IntLoadId As Long) As Boolean<br />
Could someone please advice me where m getting wrong.
Thnx
g
|
|
|
|
|
If you've class named ClsZipFiles, this should work fine:
Dim MyZipFiles as New ClsZipFiles
Dim AstrFilenames As New ArrayList
Dim BoolSuccess as boolean
'BoolSuccess = ClsZipFiles.CreateZipFiles(AstrFilenames, Val(loadid.Text))
BoolSuccess = MyZipFiles.CreateZipFiles(AstrFilenames, Val(loadid.Text))
'Here's the declaration of the function
Function CreateZipFiles(ByVal AstrFilenames As ArrayList, ByVal IntLoadId As Long) As Boolean
Could you show declaration of ClsZipFiles in your code, and full body of CreateZipFiles?
|
|
|
|
|
Hello,
I wanted to know how one can handle an installation of the application only once.
I mean to say that, if a software has to be installed on a system, then it can be installed only once on that system and if a person tries to install it on another system then that person should not be able to do it.
I hope the problem which I have mentioned is clear and hope to hear for a solution at the earliest. I would like to have a solution either in VC++ or VB and would also appreciate if there is a sample program to guide me.
Regards,
Mythri
|
|
|
|
|
Not possible. Since you can't guarantee that every machine your software runs on will have Internet access or a connection to every other computer that it might be installed on, there is no way your can determine if the software has been installed on more than the authorized number of machines. You can't even do this with a central registration server...
This is a problem that's been plaguing the software industry for decades. The only way your going to get anywhere close to having a customer run only a single copy of your software is to integrate some kind of dongle security device into your product. The customer would have to attach this to the parallel port of the machine in order to run your software.
But! This is by no means a foolproof method of securing your product. When it comes down to it, your code must still execute a single IF instruction that determines wheather or not the software should run, and this single instruction can be modified to allow the software to run no matter if the security device is there or not...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
In my opinion, an application should distribute on a read/write memory stick. When the user install an application successfully, then it will erase every source of setup file from the memory. So no one could install for the second time. In my country (Cambodia) some publisher publish a CD with a small scratch on it. When the user run setup it work fine but when they take the CD to copy it said error because it meet the scratch area on the disc. But this method just reduce the speed of illegal copy software. It can't completely a hundred percent victory. Some people just buy one CD and distribute it to his/her family or his/her friend (not all people, just small amount of people).
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
|
I want to have a program in VB, in that program i will input the TIFF image and it will show me it properties not by viewing the image but by writing information on a text file. Though i have image control but they don't support TIFF images. Can any body have any idea about it.
M Naveed Saeed,
naveed@archifiles.com
|
|
|
|
|
First, are you using VB6 or VB.NET?
Second, you might want to check out a 3rd party TIFF library, such as LibTIFF[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Actually i am working on VB Component in AutoCAD. And i want to load and automatically save the image properties specially height and weight.
May be i can move this to VB6 if i don't have enough support within AutoCAD.
|
|
|
|
|
Anonymous wrote:
May be i can move this to VB6 if i don't have enough support within AutoCAD.
?????????????????
In any case, you'll definately need the 3rd party library, like I mentioned before, to get the information you want out of the .TIFF.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi guyz, can somebody help me to convert the VB6 to Vb.Net
VB.CODE:
Dim ConnPort As String
Dim TypeFile As String
Dim psz As String
' Get selected Port
ConnPort = cboPort.List(cboPort.ListIndex)
If ConnPort = "COM" Then
psz = "COM1 =0 "
Else
psz = "USB=0 sharemode=shared "
End If
' Get selected File type
TypeFile = cboFileType.List(cboFileType.ListIndex)
If TypeFile = "Record" Then
psz = psz & "filetype= record"
Else
psz = psz & "filetype=transparent"
End If
DisplayResult "Connection Suscessful"
lngResult = PHOpen(psz, phConn)
DisplayResult "PHOpen : " & lngResult
DisplayResult "Result String : " & GetErrorString(lngResult)
I'll appreciate you guyz for helping me.. thanks in advance..
|
|
|
|
|
Do you have VB.Net installed on your computer? If you have then use Visual Basic Upgrade Wizard in VB.NET. Note that some feature could not upgrade from VB6 to VB.NET. You can read more information from here[^] about upgrading application from VB6 to VB.NET.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
hi yall i need some help here im trying to make an aplication in vb.net that can erase folders and files in side of a folder so say i have a folder called MIKE and in that folder i have 4 files and 2 folders i want my program to be simple so all you do is when the aplication comes up it says what folder would you like all information deleted out of so then i would type MIKE and then the program would delete all files and folders in that folder with out deleting that folder called MIKE and i also want it to erase all hidden and system files in that folder is there any type of code this is basically all i have right now is a .bat file that looks like this
@echo off
cd \
cd mike
echo y |del *.* /a h s
exit
but lets say i want to erase all my temporay internet files i am not able for some reson and i do not know why can some one please help me
THANK YOU FOR ALL YOUR HELP GUYS IF ANY OF YALL NEED ANY HELP WITH HP PROLIANT OR HP9000 SERVERS JUST LET ME KNOW I KNOW THEM INSIDE AND OUT
|
|
|
|
|
Erasing the Temporary Internet Files folder will require you to use the same API functions that IE uses. You can't just go into the folder and delete everything. You're not really looking at a folder of files. What you looking at is a Shell Extension that presents the cache data in a format that LOOKS like files in folders.
You'll have to enumerate the Cache Groups and Entries and delete them one at a time. The docs for the WinInet Caching functions start here[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|