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...
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...
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...
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...
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...
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...
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
Hi,
In Java you can use the "ResultSetMetaData" 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...
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
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...
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...
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?
Hi, im using the following code to launch outlook
{
Dim proc As New Process()
Dim pRunningProcesses() As System.Diagnostics.Process = System.Diagnostics.Process.GetProcessesByName("outlook")
if pRunningProcesses.Length = 0 Then
'Make outlook invisible
proc.StartInfo.FileName =...
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...
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 = "<html><head><body><font size='2' face='Courier'>Hello \n GoodBye</font></body></head></html>"
say.
Now my...
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
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...
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.