Jump to content
Xtreme .Net Talk

vnarod

Avatar/Signature
  • Posts

    87
  • Joined

  • Last visited

Everything posted by vnarod

  1. Every time I compile the program, a .pdb file is also created. What is this file? Do I have to have it?
  2. vnarod

    Recursion?

    I need to access all files in a given directory and all subdirectories. So I write a sub with Dir that is calling itself with recursion. The problem is that inside calls to Dir screw outside calls Dir, so that when I go back in recusion my Dir is reset. How should I approach this task?
  3. vnarod

    Send E-mail

    Did I understand you correctly that if a client does not have IIS installed he will not be able to send an e-mail from VB.NET program, even though he has Outlook?
  4. vnarod

    Send E-mail

    What should I check for? The Outlook is running. I thought that was an indication that SMTP server is fine. If I am wrong, please, tell me what I should do. Are SMTP server and Microsoft Exchange Server same thing? I am using Microsoft Exchange Server name from Outlook.
  5. vnarod

    Send E-mail

    I copied your code and still got the same message. I have system.web referenced. SMTP Server name I copy from Outlook(Microsoft Exchange Server property = NNYCC001PEX1). What else I could do?
  6. I am trying to make my program to send an e-mail. I am getting the error "Could not access CDO.Message object". I am not familiar with CDO. Do I need to add some reference? What should I do? Dim oMail As New System.Web.Mail.MailMessage With oMail .From = "Management_reporting@ubs.com" .To = "first.last@ubs.com" .Subject = sFile Dim myAttachment As System.Web.Mail.MailAttachment = New System.Web.Mail.MailAttachment(sFile) .Attachments.Add(myAttachment) End With System.Web.Mail.SmtpMail.SmtpServer = "NNYCC001PEX1" System.Web.Mail.SmtpMail.Send(oMail)
  7. I have Enterprize Architect Edition of VS.NET and can't fine a Visual SourceSafe in it. Has Microsoft stopped to include it any longer? Does it mean I have to buy a separate version?
  8. Thank you. DOes anyone know about Excel?
  9. We might have Acrobat. How to export my chart into it? I can draw it in a pricture box or something like that.
  10. I need to create a chart with some options that Crystal cannot do . I am thinking of just plotting the chart on the screen myself. It is easy enough to do but I also need to export the chart to Excel, possibly PDF and, of course, printer. Is there a way to do it?
  11. 2. I will try to find in help how to do that. If you have a short sample, I would greatly appreciate it. 3. What is GC?
  12. Thank you. That should work. How do you get the list of all controls to display in the tree? Do you load each control to get its name and then discard it?
  13. 1. Thank you. Do I unsderstand correctly that I need this to load all forms? dim ar as ArrayList dim oTypes as System.Type oTypes = oAssembly.GetTypes for i=0 to ubound(oTypes) ar.Add oAssembly.CreateInstance(oTypes(0).FullName) Next 2. What is the good way to store a form display name? Type.Name gives me "frmData" and I need to display "Transaction Data". Of course, I can make it public property of a form but then I will have to load form in order to read it. Is there some property that I could use to store it so I can get display name without loading form? 3. How does it work memory-wise? Will DLL stay in memory after first accessed? How can I make sure that it does not? Can keeping 150 form in memory introduce memory problems?
  14. The GUI part. I don't want to keep 150 screens in memory all the time.
  15. I am creating an application that will have over 100 data entry screens. We have decided to put forms into several DLLs by logical groups. I do need to get names at the beginning but I can load form when user asks for it. What is the best strategy of doing this design?
  16. I have created a DLL that contains several forms. At run time I need to get all form names and forms from this DLL. How can I do it? I can get the assembly, but I am confused how to get individual objects from it. sFile = "LocalManagement.DLL" oAssembly = System.Reflection.Assembly.LoadFrom(sFile)
  17. Thank you. It works.
  18. Why do you think XML is better than INI? Especially in a situation where user might need to modify them?
  19. I am writing my own control that inherits from TextBox. I need to write my own KeyPress event. What is the way of doing that? "Shadows Sub KeyPress" without "Handles" doesn't get called and I am not sure what I should put in "Handles" part.
  20. But my class is not declared as abstract (I don't even know what an abstract class is :-( ). It has only MUSTINHERIT option and I cannot turn it off because it has some MustOverride functions.
  21. I have created a form that inherits from another form. When I try to open it in designer view I get the message: "The designer must create an instance of type "DataEntry.frmMasterForm" but it can't because the type was declared as abstract" What does it mean and what should I do?
  22. I have a dataset. User makes a change and needs to save the data. How can I check if data in database is the same or was changed by another user? I am not using bound controls.
  23. The choice of icons included with VS is very limited. I often need icons such as MoveFirst/Next, Filter, etc.
  24. There is no code in the form at all - it is just a splash window. Besides, why would ShowDIalog work and Show not?
  25. I ran a hotfix for Crystal which updated my DLLs. When I create a setup project I need to include merge modules, and these modules contain old DLLs. How do I update the merge modules? Or what should I do?
×
×
  • Create New...