Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. VBDotNetProgrammer

    Testing if a string contains a numeric value?

    Hi, I want to be able to test if a string is numeric. Kind of like the isNumeric() function in VB6. Has anyone got any ideas how to go about this? Ive tried using isdigit() and isalnum() but both require an int as a parameter and i want to test a string. Thanks alot PS It has to be portable...
  2. VBDotNetProgrammer

    Avoiding memory leaks when deleting objects from a vector?

    Hi, Im concerened with memory leaks when deleting objects from vectors i.e. I am adding objects to the vector like such <code> for(i = 0; i < vRules.size(); i++) { _vRules.push_back(CRule(vRules[i])); } </code> What would be the correct way to delete the object in that vector? Im...
  3. VBDotNetProgrammer

    Problem with stricmp function..

    Hi all, Im having a problem with the stricmp() function. Ive been using it in VC6 and it is recognised, however I am getting this error under GCC. error: `stricmp` undeclared (first use this function) Does this just mean that the stricmp function does not exist in the unix version of the...
  4. VBDotNetProgrammer

    Probs with GCC and Static class member functions...

    Hi all, Im having trouble compiling an application which compiles fine under VC6 but not with GCC. The error im getting is: Xml.h:34: error: `static' can only be specified for objects and functions make: *** [main.o] Error 1 The offending piece of code is: class CXMLParser { public: static...
  5. VBDotNetProgrammer

    Monitoring the memory footprint of an application?

    Hiya, Im writing an application which is intended for the embedded market and as a result have quite severe memory constraint with which to consider. Does anyone know the best way to monitor the memory usage of the application accurately. Other than looking at the windows task manager which...
  6. VBDotNetProgrammer

    Recursive class definitions?

    Hi All, Im trying to write a class which contains itself as a private member, kind of like a recursive class definitions. i.e. class COperator { private: COperator _operator; public: COperator(); ~COperator(); }; Ive tried putting a prototype above it and it doesnt like that. It...
  7. VBDotNetProgrammer

    Performing a group by query on a datatable?

    Hi, I would like to perform an equivilent to a group by query on a Data Table object. Is this possible and if so could someone please give me a small demo of how it would be done? Thanks
  8. VBDotNetProgrammer

    Extracting Meta Data from a DataSet/Table?

    Hi, In Java you can use the &quot;ResultSetMetaData&quot; class to do this. i.e. fetch column widths and types. Now ive searched everywhere but can't seem to find a vb.net equiv. This is such a handy object i cant believe there isnt a .net equiv. Does anyone know of it or any other way i can...
  9. VBDotNetProgrammer

    Enabling filename completion in csh/ksh?

    Hi, im using both ksh and csh but for some reason on one of our servers the filename completion does not work. I take it that it is set in .cshrc? If so what do i need to type and if not does anyone know where it is set? Thanks
  10. VBDotNetProgrammer

    Help needed accessing the results of a sub-sproc within the caller?

    Hi, Im trying to execute a sproc from within another sproc, that isnt the problem i know how to do that. The problem is i cant create a temp table in the sub-sproc holding the results which the calling sproc can then access. What i need is something similar to a prototype in C++ where you...
  11. VBDotNetProgrammer

    MDIParent propertiy setting

    Hi all, OK this is the scenario: I have a main window which is an mdiparent window. Now say i open a form i can set its parent properties like this dim aform as new form aform.mdiparent=me aform.show() now say i then have a button on aform which creates a new form again. Now how do i set...
  12. VBDotNetProgrammer

    Textbox number formatting?

    Hi, Does anyone know how to apply a formatting rule to a text box. I want some to enter say 10000 and it must be displayed automatically as 10,000. Any ideas? Am i right in thinking i have to set some sort of mask?
  13. VBDotNetProgrammer

    Outlook object settings acting weirdly!!

    Hi, im using the following code to launch outlook { Dim proc As New Process() Dim pRunningProcesses() As System.Diagnostics.Process = System.Diagnostics.Process.GetProcessesByName(&quot;outlook&quot;) if pRunningProcesses.Length = 0 Then 'Make outlook invisible proc.StartInfo.FileName =...
  14. VBDotNetProgrammer

    New window positioning within MDI app?

    Hi, I have an application that makes use of a main window in which child windows are spawned i.e like most windows apps. The problem i have is that each time a window is opened regardless of whether the last window was closed or not the new window positions itself down and slightly to the...
  15. VBDotNetProgrammer

    HTML Email help needed.

    Hi, I create an email item like: Dim objOutlook As New Outlook.Application() Dim newMail As Outlook.MailItemClass I then use the newMail.HTMLBody = pBody where pBody = &quot;<html><head><body><font size='2' face='Courier'>Hello \n GoodBye</font></body></head></html>&quot; say. Now my...
  16. VBDotNetProgrammer

    Changing a view in outlook?

    Hi, is there a quick and easy way of changing a view in VB.Net to an outlook object. All i want to do is change the font in the tableview but there doesnt seem to be an easy way of doing this. Any ideas
  17. VBDotNetProgrammer

    Setting a font in VB.Net

    Hi all, Im creating an email and sending it using Dim objOutlook As New Outlook.Application() etc etc. What im doing is formatting strings and passing them into the body etc. What i want to do is be able to set the font of the text i send in the email to courier and not whatever the user has...
  18. VBDotNetProgrammer

    Opening an application invisibly?

    Hi does anyone know if its possible to have an instance of outlook or any application for that matter open invisibly?
  19. VBDotNetProgrammer

    Finding out if an application is running???

    Hi all need a bit of help here please, I need to be able to check if outlook is running, is there an easy way to do this? I also want to be able to launch outlook if it isnt running, im sure it is some sort of shell execute command? Thanks
  20. VBDotNetProgrammer

    Help getting into OLAP/MDX???

    Hi all, I just recently heard about OLAP and was quite impressed with what i heard. I have since decided to base my final year university project around an OLAP system perhaps using a webservice as the central point. My question is what is the best way to go about learning OLAP rules, design...

Part and Inventory Search

Back
Top