|
Fellow NETer's
Check out the two latest demos I posted up:
http://www.codeproject.com/useritems/tile.asp
http://www.codeproject.com/useritems/vbclock.asp
Is there anything else you would like to see, I am quite bored and tired of looking for jobs and never hearing back. At least this way I can stay sharp.
|
|
|
|
|
|
Hi,
Need help on vb.net app that simulates the reminder facility provided in Ms Outlook 2000. Interface accepts input similar to a todo task description along with date & time. User can Dismiss/Snooze with specific interval when the reminder window pops up.
# Will a windows service solve this problem Or stick to an app with separate thread to process various timer events?
# Reminders shld popup when app starts - again similar to MSOutlook.
Suggestions will be much appreciated.
|
|
|
|
|
I don't see why you would use a service. The reminders would be no problem, just let the service interact with the desktop. But you say "when app starts" do you mean IF you would use a service you would make it interact with a GUI program? I suggest you just write a normal app... That's the most easy way to solve this problem.
greetz
*Niels Penneman*
Software/Dev Site Personal Site
|
|
|
|
|
I must agree, simple app that can load when the user logs in, sits in the tray and spits out reminders.
Its not like you are making a service that always needs to be up like a web server or something
|
|
|
|
|
Has anyone got a way to convert the output from the MS Rich Text Box to HTML ?
I have looked at a solution from easybyte.com (rtf-2-html) but was wondering if there was anything else out there?
Thanks
|
|
|
|
|
|
|
Hi,
Can any explain that how can i disable CTRL+ALT+DEL or Task Manager in Windows98 using Visual Basic 6.
Thanx,
Vivek
|
|
|
|
|
Option Explicit
Private Declare Function SystemParametersInfo Lib "user32" _
Alias "SystemParametersInfoA" _
(ByVal uAction _
As Long, ByVal uParam As Long, _
ByVal lpvParam As Any, _
ByVal fuWinIni As Long) As Long
Private Const SPI_SETSCREENSAVERRUNNING = 97
Private Sub Test
Dim retval as Long
retval = SystemParametersInfo(SPI_SETSCREENSAVERRUNNING, _
Disabled, 0&, 0&)
End Sub
UB
You may stop this individual, but you can't stop us all... after all, we're all alike. +++Mentor+++
|
|
|
|
|
Hi, im trying to develop a Reporting Service application in VS.NET 2003, but bumps into this problem when i try to reference to a VB.NET project called PriceServerApp
The build error is:
Error while loading code module: ‘PriceServerApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. Details: The assembly 'PriceServerApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' cannot be loaded because code permissions have not been defined for it.
My question is: How the heck can I setup Code Permission on that PriceServerApp project?
I tried using the .NET Configuration Tool to add PriceServerApp to the GAC, so i would be able to set Code Permissions from there, but no luck, since PriceServerApp has a reference to an old Interopp'ed DLL.
Not even worked when i maximized the trust-level in Code Access Security Policy..
Heeelp...
/Magnus Lindberg
|
|
|
|
|
Disable CAS by caspol -s off. It's worth a try
UB
You may stop this individual, but you can't stop us all... after all, we're all alike. +++Mentor+++
|
|
|
|
|
Thanks, for the tips. Unfortunally it didnt work. It still complains about the same code access permission. Is there some other place i might disable this from?
/Magnus
|
|
|
|
|
HI..
Anyone had working with DB conection to AS400 using VB.NET?. This is a really important question becouse i'm starting develop some project with that feature..
Thank
Johnny Lizardo.
|
|
|
|
|
But yes ofcourse.
There's no problems what I have seen. I'm working with an IBM DB2 database, with the ODBC driver "Client Access ODBC Driver"
Hope my reply gave you all the answers you wanted. herher
/Magnus
|
|
|
|
|
Hi
Thank for your fast reponse. Look, This is my first time to try this with AS400.. For now I want the simple code to connection to any database.
Otherthing, only I need is the Client Access ODBC Driver for connection?
Thank a lot.
Johnny Lizardo
|
|
|
|
|
Hi,
On your client access install you should find the OLEDB provider for AS400.
This is a much faster library to be using for accessing the AS400, rather than ODBC. I'm currently at home so I don't have the exact connect string. But it's the Provider=IBMDA400
I'll post the proper connection string in the morning, then is also a little trick to setting up the Client Access Install, so that you can pass through your Username/Password in the Connection string rather than having client access popup a Dialog asking for the username etc. CWBCFG or similar to that once again ... in the morning...
|
|
|
|
|
Hi
Thank for your help. The bad news is my client don't have client access to link to AS400, they have Rumba. The good news is I download a evaluation copy from Hit OLEDB400 (www.hit.com) And now this connection works. Thank everyone for your support.
Johnny Lizardo
|
|
|
|
|
HELP
I am writing a vb.net app to log in to a remote web site, sift through the menu href links and extract useful information. I have the program connecting to the remote url, loading the page into a string, parsing the string and forming an array of url's containing the information pages. This part works well.
Unfortunately the second level pages require a login process which redirects to a login asp page, posts username and password values to the server and sets cookies on the local machine. My code returns an exception - the remote server returns a (404) not found" on the
I am having trouble finding example code for getting around basic problems:
- detecting whether it has been redirected
- posting the username/password values to the login page
- handling the server's cookie
Any suggestions????
|
|
|
|
|
Maybe I can help... I worked on a MSNP9 implementation and used HTTPS authentication, maybe it will not differ much from what you want to do...
Send your code and I'll see what I can do
greetz
*Niels Penneman*
Software/Dev Site Personal Site
|
|
|
|
|
Hi there,
I'm really looking for something like the CBitmapSlider (http://www.codeproject.com/staticctrl/CBitmapSlider.asp), which is perfect, but in VB. I'm only a poor student so can't afford to buy anything and am too new to vb.net to try coding my own controls (tho some good tutorials may also be a help..)
Cheers in advance
|
|
|
|
|
Hi,
Is it possible to enumerate an Enum. For example...I want to add all the possible values of an Enum into a combo box so that the values can be selected.
Enum MyEnum
Val1
Val2
Val3
End Enum
...
Nursey
Then something like
for each lValue in MyEnum
combobox.items.add(lValue.ToString())
next
Thanks
|
|
|
|
|
Public Enum flag
red = 1
white = 2
blue = 3
End Enum
For Each flagcolor In [Enum].GetNames(GetType(flag))
MsgBox(flagcolor)
Next
|
|
|
|
|
Many thanks for such a complete and details response my friend.
You inspired me to this..
MyCombo.Items.AddRange([Enum].GetNames(GetType(MyEnum)))
Combo populated with all enum values in one line of code.
Thank you for your help.
Nursey
|
|
|
|
|
Ok, its true I have only one tip, not the usual 1001 tips for VB 8-)
I have been heavily developing my Theme control system and need flicker free drawing on the surface of a panel. The solution was so sweet I just thought I would share it for two reasons. 1) See how simple things are to do in .NET, 2) I can't see a forum for sharing little nuggets...oh 3) was going to be you can see what a God I have become at this stuff in only 2 weeks (BOW MORTALS!) hahaha
' Create a panel whose Graphics object is double buffered to eliminate flicker when drawing
Public Class BufferedPanel
Inherits Panel
Sub New()
SetStyle(ControlStyles.AllPaintingInWmPaint Or ControlStyles.DoubleBuffer Or ControlStyles.UserPaint, True)
End Sub
End Class
Jeez, that was a big build up for such a poxy one line of code, but there you go. If you want flicker free drawing, just inherit a control and stick a SetStyle on it. In the Paint event of the BufferedPanel you draw anything you want to and its flicker free.
Thanks for reading!
Nursey
|
|
|
|