Search:

Type: Posts; User: Barrabutus

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    10
    Views
    778

    VS 2010 Re: Passing Objects and Sessions?

    Many Thanks for all the replys, Sorry about the delayed response.

    I havent had a chance to test yet what you are saying Shaggy but it makes perfect sense :)

    I,ll try to use the ShowDialog()...
  2. Replies
    10
    Views
    778

    VS 2010 Re: Passing Objects and Sessions?

    Because i was trying to not show the mainShop form whilst the user was adding an item.

    How would i use showDialog() instead ? can i just pass the object as a Parameter in showDialog?
    ie.......
  3. Replies
    10
    Views
    778

    VS 2010 Re: Passing Objects and Sessions?

    Many Thanks for the reply Jmc

    I tried to use what you suggested by using a property on the addDVD form and then assigning the new object to it.

    But when i do


    'Store the object for use...
  4. Replies
    10
    Views
    778

    VS 2010 Re: Passing Objects and Sessions?

    I tried to "hide" the shop form and then use the resaved shop object in the visibleChanged of shopManagerForm, So close addDVD and shopManagerForm.Visible = true , But that of course did not give me...
  5. Replies
    10
    Views
    778

    VS 2010 Re: Passing Objects and Sessions?

    Many Thanks for the reply Jmc

    Sorry for the long post ahead.

    The project im working on requires me to create 1 object on 1 form and then add a new type of object to that object on another...
  6. Replies
    10
    Views
    778

    VS 2010 Passing Objects and Sessions?

    Hi Guys

    I was wondering if someone could tell me if this is "bad practice" or is a perfectly acceptable way to pass an object to another form.

    I've cut out a lot of the code to summarise what...
  7. Replies
    3
    Views
    1,118

    VS 2010 Datasets or Handwriting SQL Commands?

    Hi guys

    I just have a small question regarding using Datasets.

    Im just starting to develop an application using a SQL Database as the main datasource. Now im wondering is it better to use the...
  8. Replies
    3
    Views
    2,477

    VS 2010 Re: Graphic Equaliser Display?

    Thanks for the reply, I,ll look into Using GDI to display an equalizer :)

    Many Thanks Barra.
  9. Replies
    3
    Views
    2,477

    VS 2010 Graphic Equaliser Display?

    Hi Guys

    I have started to create a player using VB.NET.

    Ive completed the import music functions and creating playlists and importing the playlists

    But now im wondering how would i go...
  10. VS 2010 Re: Deploying a VB.NET Application with a font?

    Hiya ! :D

    pfc.AddFontFile(My.Resources & "DS-DIGII.TTF")

    This generates an Error Resources is a namespace.
    If i add another . after resources i can see the DS-DIGII and DS_DIGIT but they...
  11. VS 2010 Re: Deploying a VB.NET Application with a font?

    Would it work if i chose Build Action as Embedded Resource?

    Many Thanks for the replys :)
  12. VS 2010 Re: Deploying a VB.NET Application with a font?

    Oh sorry its the first time ive uploaded a project and didnt realise about the Bin folder,

    I,ll delete the attachment if i can and reup a new one without the Bin folder :)

    I found a link about...
  13. VS 2010 Re: Deploying a VB.NET Application with a font?

    Ok seems ive found the way to use it in the project without installing it :)



    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    ...
  14. VS 2010 Re: Deploying a VB.NET Application with a font?

    Oh cool :)

    I,ll try again and use My.Resources & fontName & ".ttf" as a location

    But when i tried the click once deployment and then installed it, it didnt bring the ttf file with the...
  15. VS 2010 Re: Deploying a VB.NET Application with a font?

    I tried the second way but when installed it again on the laptop i checked the install directory to see if arial.ttf was inside but it wasnt and i had the settings as you described so its almost like...
  16. VS 2010 Re: Deploying a VB.NET Application with a font?

    Many thanks for the reply Zeelia

    I have tried to add a ttf as a resource file and then installed it on my laptop and it gives me a JIT Debugger error cannot find resource file.

    The logo i...
  17. VS 2010 Deploying a VB.NET Application with a font?

    Hi Guys

    Im wondering if anyone would be able to point me to a very well detailed tutorial as to how to Embed a font into my deployed application , So when its installed on an end user,s computer,...
  18. Replies
    8
    Views
    1,120

    VS 2010 Re: Using Substring to extract paragraphs.

    Which text layout library would you recommend to use to achieve this ?

    At the moment im using SharpPDF to generate the PDF documents as well as the various methods for writing to this PDF Object....
  19. Replies
    8
    Views
    1,120

    VS 2010 Re: Using Substring to extract paragraphs.

    Many Thanks for the reply ForumAccount

    I was considering counting each value for each character and doing it that way but this still does not give the right amount of characters per line. :(
    ...
  20. Replies
    8
    Views
    1,120

    VS 2010 Re: Using Substring to extract paragraphs.

    Exactly :)

    612 Characters is too many as you can see from the attached PDF , So i need to try and find out how i can split this value
    {Width = 31656 Height = 18}

    Im guessing 31656 is not the...
  21. Replies
    8
    Views
    1,120

    VS 2010 Re: Using Substring to extract paragraphs.

    Thanks for the reply ForumAccount i was just updating the thread when you replied.

    If you look at the updated post you will see what i mean :)
  22. Replies
    8
    Views
    1,120

    VS 2010 Using Substring to extract paragraphs.

    Hi Guys

    I recently solved 1 problem to encounter yet another.

    I have the following code which seems to work as intended.

    From what i can tell is that Size is not the same as the amount of...
  23. VS 2010 Re: How to calculate a strings height?

    Ive added reputation to all who replied because you all helped me solve this problem which drive me crazy for god knows how many hours :)

    Once again Thank You all !
  24. VS 2010 Re: How to calculate a strings height?

    YES!

    After hours of driving myself crazy i managed to figure it out :)

    Many thanks for all the replys, and for those wondering what the code ended up like see below :

    It seemed...
  25. VS 2010 Re: How to calculate a strings height?

    Ive just seen that the SendMessage gets the number of visible lines, But im not trying to retrieve the amount of lines from an already created document.

    I have a YAxis and XAxis variables which...
  26. VS 2010 Re: How to calculate a strings height?

    Many thanks for the replys

    Edge im quite new to using some of these parameters in methods, So could i possibly ask for a quick explanation how i could pass that string into the getLineCount...
  27. VS 2010 [RESOLVED] How to calculate a strings height?

    Hi Guys

    I have a long string of text which i am appending to PDF document.

    But im having problems trying to find out exactly how many "lines" the text will produce.

    I currently have the...
  28. Replies
    0
    Views
    2,324

    VS 2010 SharpPDF Basic Starting Class Guide.

    Hi Guys

    Ive just started to use SharpPDF to generate PDF Documents on the fly and due to the fact that its not a very well documented addon for this, I created a small class to help generate very...
  29. VS 2010 Generating PDF With tables. Driving me crazy

    Hi Guys

    After much searching the web and attempting to use many of the open source PDF API,s and failing terribly with them, Ive decided to come here to see if anyone can help.

    I have tried...
  30. Replies
    1
    Views
    566

    VS 2010 Server/Client Communications.

    Hi guys

    I have started to learn how to use the TcpListener class to create a server/client chat facility, But im having some issues as to how to perform this at the moment i have the following...
  31. Replies
    1
    Views
    623

    VS 2010 Re: Chart Control Confusion??

    Update :

    Im currently using Devexpress Charts which work great for me but its on a trial basis only which is why i am looking to try and do this using the Chart already in VB.NET :)

    If anyone...
  32. Replies
    1
    Views
    623

    VS 2010 Chart Control Confusion??

    Hi guys

    Im starting to learn how to use the chart control in VB

    But im having one small problem and wondered if anyone could explain how you create a "new" column because atm all the time i...
  33. Replies
    8
    Views
    1,148

    VS 2010 Re: Automated Insert SQL Query Parameterised?

    Thanks for the reply Jmc

    Thats a good point getTables should be renamed to getColumnNames lol :)

    I do understand that using a method like i posted would be a bad idea but would it still be a...
  34. Replies
    8
    Views
    1,148

    VS 2010 Automated Insert SQL Query Parameterised?

    Hi guys

    I wrote this little function to allow me to pass an ArrayList of Strings and then based on the table passed to pre-build a SQLCommand like so

    INSERT INTO `table` (`column`,`column`)...
  35. Replies
    6
    Views
    1,785

    VS 2010 Re: Class Public Property or Sub/Function?

    Awesome explanations Grim, Many thanks it has helped clear up this question in my head :)

    Rep added : ;)

    I do have another question lol but i,ll make a new thread :)

    Regards Barra
  36. VS 2010 Re: Exporting Database file from my Friend's PC

    As for the embedding of the Access DB im not sure if that just means that its "Packaged" with the application or actually placed inside the program (Out of sight) , Maybe one of the more experienced...
  37. Replies
    6
    Views
    1,785

    VS 2010 Re: Class Public Property or Sub/Function?

    Ah many thanks :) I will have to read this thread a few times for it to sink in lol :)

    I just noticed something else that you used the ReadOnly attribute as well which i guess would help protect...
  38. Replies
    11
    Views
    683

    VS 2008 Re: Function in module is not being called

    Are you sure that the function is returning something ? If possible please post the module InitialiseOsTransform() or that the previous line is not making it skip past this function ?
  39. VS 2010 Re: Exporting Database file from my Friend's PC

    I,ll try to help you, Bear in mind im quite new tho like yourself :)

    I dont think 15k records is a great deal so i would probably suspect you will be ok with a Access Database , As for the...
  40. Replies
    6
    Views
    1,785

    VS 2010 Re: Class Public Property or Sub/Function?

    Grimfort many thanks for the prompt reply, I have looked into the MSDN article about the differences but, I tend to struggle with all the technical terms they use lol Im quite new to classes so...
Results 1 to 40 of 132
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width