Jump to content
Xtreme .Net Talk

Dill

Avatar/Signature
  • Posts

    34
  • Joined

  • Last visited

Dill's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. ok heres the thing... I am wanting (for reasons unknown) to write a program that first and formost will make telephone voice calls to home phones. This will later be expanded on to provide answer phone etc. but first i would like to create the core which makes the phone calls. then i will need to adapt this to receive calls also. The problem is i have no real idea where to start. any suggestions? Dill
  2. if you are wanting to get the raw text from an RTF string you can put the string into an rtfbox.rtf and read the rtfbox.text. i dont have .net in front of me to test this but i think it will work. Dill
  3. Long Live Pascal
  4. i did something similar. A project management program. i drew the full plan onto a panel using the gdi and put this panel inside a fixed size panel. i set up some events to allow easy scrolling around with the mouse (adobe hand style). It is quite smple to use the database information to draw the paths you need. The scale was different (up to months) but its another possibility. Dill
  5. One more thing ;) I need to make sure that my taskbar app is kicked off on startup. I have noticed that when I restart I have to select the taskbar app to start it running. would this be registry? code? Dill
  6. IT WORKS!! For real this time!! fully tested. Im not entirely sure exactly what was wrong. Think it may have been multiple things. but once i made the keyfile for my control and added the assembly information (it still didnt work). I reregistered my vb dll and added it to the GAC too (I dont think this was necessary but wth). gave it a really hot cup of tea (brownian motion producer) and it is now happily sat on my taskbar doing exactly what it says on the tin :D Thanks to both mskeel and PD for your help :) Dill
  7. Ok so maybe i was a little premature in my celebrations!!! It works great with a standard text box. my dll tho 'seems' to work until i try to add it to the GAC. It tells me it doesnt have a strong name. After reading the example again and inserting a line in the assembly info file i managed to give the taskbar app a strong name. But now it says my vb dll doesnt have a strong name. problem is I dont have a keyfile for it and have no idea where to get one (or create one). What do I need to do to get the taskbar program to accept my vb custom control? Dill
  8. Well I now have a working taskbar application, many thanks mskeel. To summarize... The download from that site does all the funky stuff and the step by step instructions for creating your user control are real easy (especially if you don't try to translate it!) so i made a blank control for the taskbar. I then created a normal custom control in vb.net with all the functionality i wanted on the taskbar. compiled my dll, added it to the example, GAC'd it, REGASM'd it, and VOILA. Many thanks again Dill
  9. Ok I just managed to get some time to look at this. I have a couple of questions. First I am trying to translate to VB as i go through it. This may not be wise but my VERY limited knowledge of c# makes it a better idea i think. the bit that puzzles me is this ... [bandObject("Hello World Bar", BandObjectStyle.Horizontal | BandObjectStyle.ExplorerToolbar, HelpText = "Shows bar that says hello.")] public class HelloWorldBar : BandObject { ... when i try to convert this to VB I get ... <BandObject("Hello World Bar", _ BandObjectStyle.Horizontal Or BandObjectStyle.ExplorerToolbar, _ HelpText = "Shows bar that says hello.")> _ Public Class HelloWorldBar Inherits BandObject ... but this gives me an error on helptext saying its not declared. Is my conversion correct? If not what would be the correct way to implement this attribute? Thanx Dill
  10. lol PD snap
  11. you could convert the color to the ARGB values and save those in the registry and convert it back to a color using color.fromargb
  12. Dill

    Error tracking

    Another quality example from the mighty MSDN. I tried it too. Maybe this only works with .net 2010
  13. Dill

    Error tracking

    I have often used a global error handler in my sub main. it helps filter the important information. Remember try catc statements can be nested so if you need to put in some more specific error handling then np. this however will also need to point to the error log. While I agree that global error handling can be useless and in some respects more effort than its worth, especially if the wrong information is relayed in the error message it can make it harder to find errors than if you had no error handling at all! However i frrl that if done correctly it can simplify the debugging process Dill
  14. ok heres the thing... I have been asked to create a program that will log all messages sent and received via "MSN Zone Messages". For those of you unfamilliar the messages are individual messages sent with the message text in what appears to be a label and a text box area for a reply. i have used a simple keyboard interupt to obtain keystrokes for the reply and api calls to getwindowtext. My problem is logging incoming messages. I am unsure where to start. Should i be trying to intercept the message before it gets to the zm program? should i try to do some sort of capture when the message is active? I think the main issue i have is I do not know how the text is being transfered or displayed. Has anyone tried anything similar to this before and what is the best way arround it. Thanks Dill
×
×
  • Create New...