Hi guys!
Just wanted to let you all know that I created a Variant structure, inspired by the old VB6 days.
// Here is an example of use:
// start with a string of "1"
Variant da = new Variant("1");
// add an integer of 2, becomes 3
da += 2;
// add a float of 1.3, becomes 4.3
da += 1.3F;
// add a string, becomes "4.3wow"
da += "wow";
// write "4.3wow"
Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give it 5 stars if you find it useful. http://www.planet-source-code.com/vb...2854&lngWId=10
Regards,
Jon Davis 16 1449
I'm not sure it's really usefull...
anyway, in the case you do (which is most likely :)
I would suggest that instead of having
public short Short { get { } }
it could be better to have something like (not sure of the syntax)
public static explicit operator short(Variant v) {}
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message news:ed**************@TK2MSFTNGP14.phx.gbl...
Hi guys!
Just wanted to let you all know that I created a Variant structure, inspired by the old VB6 days.
// Here is an example of use:
// start with a string of "1"
Variant da = new Variant("1");
// add an integer of 2, becomes 3
da += 2;
// add a float of 1.3, becomes 4.3
da += 1.3F;
// add a string, becomes "4.3wow"
da += "wow";
// write "4.3wow"
Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give it 5 stars if you find it useful. http://www.planet-source-code.com/vb...2854&lngWId=10
Regards,
Jon Davis
Excellent idea. Will modify. Thanks, how did I miss this??
Jon
"Lloyd Dupont" <ld@NewsAccount.galador.net> wrote in message
news:#K**************@TK2MSFTNGP09.phx.gbl...
I'm not sure it's really usefull...
anyway, in the case you do (which is most likely :)
I would suggest that instead of having
public short Short { get { } }
it could be better to have something like (not sure of the syntax)
public static explicit operator short(Variant v) {}
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message
news:ed**************@TK2MSFTNGP14.phx.gbl...
Hi guys!
Just wanted to let you all know that I created a Variant structure,
inspired by the old VB6 days.
// Here is an example of use:
// start with a string of "1"
Variant da = new Variant("1");
// add an integer of 2, becomes 3
da += 2;
// add a float of 1.3, becomes 4.3
da += 1.3F;
// add a string, becomes "4.3wow"
da += "wow";
// write "4.3wow"
Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give
it 5 stars if you find it useful. http://www.planet-source-code.com/vb...2854&lngWId=10
Regards,
Jon Davis
*Drops to knees, clenching fists skyward* "NOOOOOOOOOOOO!!!!!!!!!!!!"
That is the most evil scheme I've read about today. :-( Why in God's Green
Earth would you do this? You took the one MAJOR thing that Microsoft (very
wisely) did not perpetuate forward, and you made a workaround.
Is there anything more evil than the variant? If there is, I don't want to
know what it is.. :-(
(sigh)
All that aside, that is a cool little class/struct!! :-) I just wish you'd
use your powers for good!!! :-)
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message
news:ed**************@TK2MSFTNGP14.phx.gbl...
Hi guys!
Just wanted to let you all know that I created a Variant structure, inspired
by the old VB6 days.
// Here is an example of use:
// start with a string of "1"
Variant da = new Variant("1");
// add an integer of 2, becomes 3
da += 2;
// add a float of 1.3, becomes 4.3
da += 1.3F;
// add a string, becomes "4.3wow"
da += "wow";
// write "4.3wow"
Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give it
5 stars if you find it useful. http://www.planet-source-code.com/vb...2854&lngWId=10
Regards,
Jon Davis
OK, I've completed this change.
Jon
"Lloyd Dupont" <ld@NewsAccount.galador.net> wrote in message
news:#K**************@TK2MSFTNGP09.phx.gbl...
I'm not sure it's really usefull...
anyway, in the case you do (which is most likely :)
I would suggest that instead of having
public short Short { get { } }
it could be better to have something like (not sure of the syntax)
public static explicit operator short(Variant v) {}
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message
news:ed**************@TK2MSFTNGP14.phx.gbl...
Hi guys!
Just wanted to let you all know that I created a Variant structure,
inspired by the old VB6 days.
// Here is an example of use:
// start with a string of "1"
Variant da = new Variant("1");
// add an integer of 2, becomes 3
da += 2;
// add a float of 1.3, becomes 4.3
da += 1.3F;
// add a string, becomes "4.3wow"
da += "wow";
// write "4.3wow"
Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give
it 5 stars if you find it useful. http://www.planet-source-code.com/vb...2854&lngWId=10
Regards,
Jon Davis
> Is there anything more evil than the variant? If there is, I don't want to know what it is.. :-(
All that aside, that is a cool little class/struct!!
LOL. :) Well like I said in the header, many people view the variant as
ugly. I am somewhat among them, ... but then again, I kinda miss the little
booger.
Jon
"Drebin" <th*******@hotmail.com> wrote in message
news:2b*****************@newssvr19.news.prodigy.co m... *Drops to knees, clenching fists skyward* "NOOOOOOOOOOOO!!!!!!!!!!!!"
That is the most evil scheme I've read about today. :-( Why in God's
Green Earth would you do this? You took the one MAJOR thing that Microsoft (very wisely) did not perpetuate forward, and you made a workaround.
Is there anything more evil than the variant? If there is, I don't want to know what it is.. :-(
(sigh)
All that aside, that is a cool little class/struct!! :-) I just wish you'd use your powers for good!!! :-)
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message news:ed**************@TK2MSFTNGP14.phx.gbl... Hi guys!
Just wanted to let you all know that I created a Variant structure,
inspired by the old VB6 days.
// Here is an example of use: // start with a string of "1" Variant da = new Variant("1"); // add an integer of 2, becomes 3 da += 2; // add a float of 1.3, becomes 4.3 da += 1.3F; // add a string, becomes "4.3wow" da += "wow"; // write "4.3wow" Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give
it 5 stars if you find it useful.
http://www.planet-source-code.com/vb...2854&lngWId=10 Regards, Jon Davis
How about creating a class with No methods or properties, just GoTo
Statements ;-)
--
W.G. Ryan MVP (Windows Embedded)
TiBA Solutions www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message
news:ed**************@TK2MSFTNGP14.phx.gbl...
Hi guys!
Just wanted to let you all know that I created a Variant structure, inspired
by the old VB6 days.
// Here is an example of use:
// start with a string of "1"
Variant da = new Variant("1");
// add an integer of 2, becomes 3
da += 2;
// add a float of 1.3, becomes 4.3
da += 1.3F;
// add a string, becomes "4.3wow"
da += "wow";
// write "4.3wow"
Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give it
5 stars if you find it useful. http://www.planet-source-code.com/vb...2854&lngWId=10
Regards,
Jon Davis
The thing about THIS variant is that it is still strongly typed... Sort of.
You still have access to the type information of the value, and you must
still be explicit in typecasting from it.
But I understand why Microsoft left this out. But IMO, if you're desperate
enough for a Variant that you're willing to copy the source code, you're
inevitably going to learn about the dangers of using it anyway. :)
Jon
"Drebin" <th*******@hotmail.com> wrote in message
news:2b*****************@newssvr19.news.prodigy.co m... *Drops to knees, clenching fists skyward* "NOOOOOOOOOOOO!!!!!!!!!!!!"
That is the most evil scheme I've read about today. :-( Why in God's
Green Earth would you do this? You took the one MAJOR thing that Microsoft (very wisely) did not perpetuate forward, and you made a workaround.
Is there anything more evil than the variant? If there is, I don't want to know what it is.. :-(
(sigh)
All that aside, that is a cool little class/struct!! :-) I just wish you'd use your powers for good!!! :-)
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message news:ed**************@TK2MSFTNGP14.phx.gbl... Hi guys!
Just wanted to let you all know that I created a Variant structure,
inspired by the old VB6 days.
// Here is an example of use: // start with a string of "1" Variant da = new Variant("1"); // add an integer of 2, becomes 3 da += 2; // add a float of 1.3, becomes 4.3 da += 1.3F; // add a string, becomes "4.3wow" da += "wow"; // write "4.3wow" Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give
it 5 stars if you find it useful.
http://www.planet-source-code.com/vb...2854&lngWId=10 Regards, Jon Davis
Just when I got my programming act together dropping VB 6's kindness to advance my skills to C#'s preciseness, you're trying to do what to me? Nooooooooo!!! I've come too far for a Variant type. It's like going to the pub after an A.A. meeting with your A.A. mates. Jon don't look back you may turn to salt, you've already displayed alot of skill in what you've constructed, ironically you don't need a Variant type. Just a friendly opinion.
Regards,
SpotNet
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message news:ed**************@TK2MSFTNGP14.phx.gbl...
Hi guys!
Just wanted to let you all know that I created a Variant structure, inspired by the old VB6 days.
// Here is an example of use:
// start with a string of "1"
Variant da = new Variant("1");
// add an integer of 2, becomes 3
da += 2;
// add a float of 1.3, becomes 4.3
da += 1.3F;
// add a string, becomes "4.3wow"
da += "wow";
// write "4.3wow"
Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give it 5 stars if you find it useful. http://www.planet-source-code.com/vb...2854&lngWId=10
Regards,
Jon Davis
I tend to disagree with the prevailing opinon here. There is nothing wrong
with a Variant, per se. There are certainly times when a single type can
take on multiple views.
Even in the current atmosphere, when you are dealing with situations where
object models cannot be directly imported, for example xpath queries, how
often do you find yourself calling the particular overload for that value?
Wouldn't it be easier, at times, if you could pass a value that can be
considered any of them, depending on what the caller will eventually want?
This class, in and of itself is not a problem, bad usage of it certaily
would be.
Also, ironically, a Variant classes biggest use would probably be in a
runtime for underlying script systems.
The only problem I have with this is that, IMHO, the type properties should
be available. Explicit conversions are nice, but shouldn't be the only
avenue to any given functionality, IMHO.
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message
news:ed**************@TK2MSFTNGP14.phx.gbl...
Hi guys!
Just wanted to let you all know that I created a Variant structure, inspired
by the old VB6 days.
// Here is an example of use:
// start with a string of "1"
Variant da = new Variant("1");
// add an integer of 2, becomes 3
da += 2;
// add a float of 1.3, becomes 4.3
da += 1.3F;
// add a string, becomes "4.3wow"
da += "wow";
// write "4.3wow"
Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give it
5 stars if you find it useful. http://www.planet-source-code.com/vb...2854&lngWId=10
Regards,
Jon Davis
It was a proof of concept to show that Microsoft wasn't in the least bit
simply too incompetent to reproduce the past, but that they made a willfull
choice not to provide something that actually was sometimes handy.
Jon
"SpotNet" <Sp*****@msnews.grp> wrote in message
news:uR**************@TK2MSFTNGP09.phx.gbl...
Just when I got my programming act together dropping VB 6's kindness to
advance my skills to C#'s preciseness, you're trying to do what to me?
Nooooooooo!!! I've come too far for a Variant type. It's like going to the
pub after an A.A. meeting with your A.A. mates. Jon don't look back you may
turn to salt, you've already displayed alot of skill in what you've
constructed, ironically you don't need a Variant type. Just a friendly
opinion.
Regards,
SpotNet
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message
news:ed**************@TK2MSFTNGP14.phx.gbl...
Hi guys!
Just wanted to let you all know that I created a Variant structure,
inspired by the old VB6 days.
// Here is an example of use:
// start with a string of "1"
Variant da = new Variant("1");
// add an integer of 2, becomes 3
da += 2;
// add a float of 1.3, becomes 4.3
da += 1.3F;
// add a string, becomes "4.3wow"
da += "wow";
// write "4.3wow"
Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give
it 5 stars if you find it useful. http://www.planet-source-code.com/vb...2854&lngWId=10
Regards,
Jon Davis
I think what the problem here, is in philosophy. This is like gunmakers
doing away with safetys!! A gun without a safety isn't fundamentally *more*
dangerous, it's only when that gun is in a humans hands, does it pose a
bigger risk.
The variant *allows* people to do bad things in code, and for most that
would use it - they use it as a shortcut for a being a lazy coder.
So although in principle, there is nothing wrong with a variant - in the
hands of a skilled/competent developer, it's ironic that this is exactly the
kind of person who WON'T be using it.
"Daniel O'Connell [C# MVP]" <onyxkirx@--NOSPAM--comcast.net> wrote in
message news:eo**************@tk2msftngp13.phx.gbl... I tend to disagree with the prevailing opinon here. There is nothing wrong with a Variant, per se. There are certainly times when a single type can take on multiple views.
Even in the current atmosphere, when you are dealing with situations where object models cannot be directly imported, for example xpath queries, how often do you find yourself calling the particular overload for that value? Wouldn't it be easier, at times, if you could pass a value that can be considered any of them, depending on what the caller will eventually want?
This class, in and of itself is not a problem, bad usage of it certaily would be.
Also, ironically, a Variant classes biggest use would probably be in a runtime for underlying script systems.
The only problem I have with this is that, IMHO, the type properties should be available. Explicit conversions are nice, but shouldn't be the only avenue to any given functionality, IMHO.
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message news:ed**************@TK2MSFTNGP14.phx.gbl... Hi guys!
Just wanted to let you all know that I created a Variant structure, inspired by the old VB6 days.
// Here is an example of use: // start with a string of "1" Variant da = new Variant("1"); // add an integer of 2, becomes 3 da += 2; // add a float of 1.3, becomes 4.3 da += 1.3F; // add a string, becomes "4.3wow" da += "wow"; // write "4.3wow" Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give it 5 stars if you find it useful.
http://www.planet-source-code.com/vb...2854&lngWId=10
Regards, Jon Davis
Tell that to the guys who invented it in the early VB days. What you call
"lazy", I might sometimes call productive.
Jon
"Drebin" <th*******@hotmail.com> wrote in message
news:mE*****************@newssvr19.news.prodigy.co m... I think what the problem here, is in philosophy. This is like gunmakers doing away with safetys!! A gun without a safety isn't fundamentally
*more* dangerous, it's only when that gun is in a humans hands, does it pose a bigger risk.
The variant *allows* people to do bad things in code, and for most that would use it - they use it as a shortcut for a being a lazy coder.
So although in principle, there is nothing wrong with a variant - in the hands of a skilled/competent developer, it's ironic that this is exactly
the kind of person who WON'T be using it.
"Daniel O'Connell [C# MVP]" <onyxkirx@--NOSPAM--comcast.net> wrote in message news:eo**************@tk2msftngp13.phx.gbl...I tend to disagree with the prevailing opinon here. There is nothing
wrongwith a Variant, per se. There are certainly times when a single type can take on multiple views.
Even in the current atmosphere, when you are dealing with situations
where object models cannot be directly imported, for example xpath queries,
how often do you find yourself calling the particular overload for that
value? Wouldn't it be easier, at times, if you could pass a value that can be considered any of them, depending on what the caller will eventually
want? This class, in and of itself is not a problem, bad usage of it certaily would be.
Also, ironically, a Variant classes biggest use would probably be in a runtime for underlying script systems.
The only problem I have with this is that, IMHO, the type properties should be available. Explicit conversions are nice, but shouldn't be the only avenue to any given functionality, IMHO.
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message news:ed**************@TK2MSFTNGP14.phx.gbl... Hi guys!
Just wanted to let you all know that I created a Variant structure, inspired by the old VB6 days.
// Here is an example of use: // start with a string of "1" Variant da = new Variant("1"); // add an integer of 2, becomes 3 da += 2; // add a float of 1.3, becomes 4.3 da += 1.3F; // add a string, becomes "4.3wow" da += "wow"; // write "4.3wow" Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give it 5 stars if you find it useful.
http://www.planet-source-code.com/vb...2854&lngWId=10 Regards, Jon Davis
No, don't misunderstand - I mean lazy, because if you don't take the
time/effort to type a variable correctly, you are opening the door for an
assumption, and assumptions are what "software bugs" are. Assumptions are
bad, clarity is good!!
Productivity is only valuable if you don't have to pay an unreasonable price
for it. If you are productive, but your code is confusing, unmanageable or
based on undocumented assumptions - that's bad, even for the smallest of
programs. Mainly because we all know, even the smallest of apps have a habit
of turning into "enterprise applications"!!
This is clearly a philosophical difference, not a technical one - so this is
my side of it.. for whatever it's worth..
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message
news:ew**************@TK2MSFTNGP09.phx.gbl... Tell that to the guys who invented it in the early VB days. What you call "lazy", I might sometimes call productive.
Jon
"Drebin" <th*******@hotmail.com> wrote in message news:mE*****************@newssvr19.news.prodigy.co m... I think what the problem here, is in philosophy. This is like gunmakers doing away with safetys!! A gun without a safety isn't fundamentally *more* dangerous, it's only when that gun is in a humans hands, does it pose a bigger risk.
The variant *allows* people to do bad things in code, and for most that would use it - they use it as a shortcut for a being a lazy coder.
So although in principle, there is nothing wrong with a variant - in the hands of a skilled/competent developer, it's ironic that this is exactly the kind of person who WON'T be using it.
"Daniel O'Connell [C# MVP]" <onyxkirx@--NOSPAM--comcast.net> wrote in message news:eo**************@tk2msftngp13.phx.gbl...I tend to disagree with the prevailing opinon here. There is nothing wrongwith a Variant, per se. There are certainly times when a single type
cantake on multiple views.
Even in the current atmosphere, when you are dealing with situations where object models cannot be directly imported, for example xpath queries, how often do you find yourself calling the particular overload for that value? Wouldn't it be easier, at times, if you could pass a value that can be considered any of them, depending on what the caller will eventually want? This class, in and of itself is not a problem, bad usage of it
certaily would be.
Also, ironically, a Variant classes biggest use would probably be in a runtime for underlying script systems.
The only problem I have with this is that, IMHO, the type properties should be available. Explicit conversions are nice, but shouldn't be
the only avenue to any given functionality, IMHO.
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message news:ed**************@TK2MSFTNGP14.phx.gbl... Hi guys!
Just wanted to let you all know that I created a Variant structure, inspired by the old VB6 days.
// Here is an example of use: // start with a string of "1" Variant da = new Variant("1"); // add an integer of 2, becomes 3 da += 2; // add a float of 1.3, becomes 4.3 da += 1.3F; // add a string, becomes "4.3wow" da += "wow"; // write "4.3wow" Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to
give it 5 stars if you find it useful.
http://www.planet-source-code.com/vb...2854&lngWId=10 Regards, Jon Davis
Jon,
Its interesting all the comments of the "evils" of the Variant. Which I am
not here to dispute! (As with OO you don't normally need a Variant).
What's interesting is that SQL Server 2000 added a Variant type as a
Database Type see sql_variant: http://msdn.microsoft.com/library/de...u-sus_4stw.asp
Just a thought
Jay
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message
news:ed**************@TK2MSFTNGP14.phx.gbl...
Hi guys!
Just wanted to let you all know that I created a Variant structure, inspired
by the old VB6 days.
// Here is an example of use:
// start with a string of "1"
Variant da = new Variant("1");
// add an integer of 2, becomes 3
da += 2;
// add a float of 1.3, becomes 4.3
da += 1.3F;
// add a string, becomes "4.3wow"
da += "wow";
// write "4.3wow"
Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give it
5 stars if you find it useful. http://www.planet-source-code.com/vb...2854&lngWId=10
Regards,
Jon Davis
a good exercise in typology! OTOH, my rating for use in actual projects: :oP
version 5 should be in C# 2.0 using generics, eh
--
Grace + Peace,
Peter N Roth
Engineering Objects International http://engineeringobjects.com
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message news:ed**************@TK2MSFTNGP14.phx.gbl...
Hi guys!
Just wanted to let you all know that I created a Variant structure, inspired by the old VB6 days.
// Here is an example of use:
// start with a string of "1"
Variant da = new Variant("1");
// add an integer of 2, becomes 3
da += 2;
// add a float of 1.3, becomes 4.3
da += 1.3F;
// add a string, becomes "4.3wow"
da += "wow";
// write "4.3wow"
Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give it 5 stars if you find it useful. http://www.planet-source-code.com/vb...2854&lngWId=10
Regards,
Jon Davis
> Its interesting all the comments of the "evils" of the Variant. Which I am not here to dispute! (As with OO you don't normally need a Variant).
I'm not disputing it, either. The documentation is very detailed that the
Variant is considered dangerous. I did it because I "miss" the old beast,
and I wanted another little pet project for frills. I got inspired to do
this while refreshing myself on the stack vs. heap / classes vs. structs
while studying for MCSD certification.
But I do see some good use for it if I'm constantly jumping back and forth
between intrinsic types, and since I wrote the thing I will always know at
the back of my mind EXACTLY what's going to happen from my actions.
Jon
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message
news:ud**************@TK2MSFTNGP14.phx.gbl... Jon, Its interesting all the comments of the "evils" of the Variant. Which I am not here to dispute! (As with OO you don't normally need a Variant).
What's interesting is that SQL Server 2000 added a Variant type as a Database Type see sql_variant:
http://msdn.microsoft.com/library/de...u-sus_4stw.asp Just a thought Jay
"Jon Davis" <jo*@REMOVE.ME.jondavis.net> wrote in message news:ed**************@TK2MSFTNGP14.phx.gbl... Hi guys!
Just wanted to let you all know that I created a Variant structure,
inspired by the old VB6 days.
// Here is an example of use: // start with a string of "1" Variant da = new Variant("1"); // add an integer of 2, becomes 3 da += 2; // add a float of 1.3, becomes 4.3 da += 1.3F; // add a string, becomes "4.3wow" da += "wow"; // write "4.3wow" Console.WriteLine(da);
I might actually use this puppy. :)
Anyway, here it is, source code and all, take a look and be sure to give
it 5 stars if you find it useful.
http://www.planet-source-code.com/vb...2854&lngWId=10 Regards, Jon Davis
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Annie |
last post by:
I am trying to call a COM object which expects a variant datatype to
be passed in to the COM API object. However, I get "<COMObject
<unknown>>" and the program fails.
Below is my code in Python,...
|
by: Don Leverton |
last post by:
Hi All,
I've got a situation where I am developing an Access 97 app for a client,
and am in the "beta testing" stage.
I have split the app up, using the DB splitter, into front-end /back-end...
|
by: MLH |
last post by:
A97 HELP shows the proper syntax for using Nz as
Nz(variant)
I'm wondering what to expect from potential past
misuse I've made. For example, consider the following...
Private Sub...
|
by: Torben Laursen |
last post by:
Hi
Can anyone show me how to convert between VARIANT and std::string and back,
thanks!
Torben
---
|
by: Jon Davis |
last post by:
Hi guys!
Just wanted to let you all know that I created a Variant structure, inspired by the old VB6 days. This is written in C#, but you can build a CLR/.NET class library assembly and reference...
|
by: MLH |
last post by:
The following procedures found at
http://ffdba.com/downloads/Send_Mail_With_Outlook_Express.htm
are meant to work together in harmony to effect eMail sends via OE.
The last procedure (FN SplitB)...
|
by: buzzluck68 |
last post by:
Hello,
I am having trouble upgrading my VB apps to .net. When i started at
my company there was a dll created here in vb6, and i need to use that
dll for many functions that would take too much...
|
by: captainc |
last post by:
I have C++ code to import a .tlb and use a .dll that has functions that return VARIANT types and accepts BSTRs (bstrings). I have seen that python has modules that can manipulate VARIANTs and BSTRs...
|
by: scubak1w1 |
last post by:
Hello,
For a project I am working on, I wrote a piece of code in VBA backend of Excel to convert RGB colour values to HSV...
The VBA is working fine, and as you can see at the bottom I am...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
| |