You have a lot of operators you can use
<
<=
==
>=
!=
(see helpfile for more and info if you havent a clue what they mean)
You have a lot of operators you can use
<
<=
==
>=
!=
(see helpfile for more and info if you havent a clue what they mean)
What have you read about webservices? Have you looked on msdn?
Yes. Everything is possible. However, thread jacking is considered bad manners.
no, it will look for both and as as long as it finds a precompiled dcu with the same timestamp, it will assume its correct.
Does a hello world work?
WM_COPYDATA only works if the receiver knows what to do with it. You are limited by what your OCX will understand. Best thing to do would be to post on their forums to find out what options you have.
Whats in your projects path satements? Does a simple hello world program work?
um, .c and .h files maybe, but the code you showed was pascal.
If your component only takes file input, then thats what you've got to work with. If you just need to display images, why use an OCX in the first place?
You didnt really explain what you expect to store your images in. However, if you use a database, you could write temp files out to load into the source.
Take a look at the indy components, they are the easiest to use. (and there are plenty of examples)
If you do the correct grouping on your data you dont need a before and after.
If you want to download an MDB file you cant update it online, it would be read only as you would have to download a copy and then use it from a temp/semi perminant location.
Take a look at the indy components, they are the easiest to use.
OK, but write me the code I asked, and then see if the bell tolls and you work out whats missing. as you're close, but without any array concept no its not going to.
You have no array in your program - however, your use of random is ok. So, Id argue a difference about using arrays as it seems to be this you're having the issue with.
OK, take it back a stage, how would you assign the numbers 1 through 10 to an array holding 10 integers?
OK, so it calls buy and sets a string variable, when you say theres more than one.. This description isnt clear..
That looks on face value an awful lot of repeated unnecessary code.
Can you do a picture of what your screen should look like?
It would normally need excel to have the drivers for excel.
Did you enable adding records in your datagridview, and if you're manually adding them have you tried adding them to the datasource?
As it says, dataadapters DONT show on the controls list. nor do they show on the components list (components do show some of the non visible elements)
The obvious way would be to either name your dataadapters or, make an array/List of them so you can walk them if you make some on the fly.
Did you try what I suggested?
What problem are you having doing so?
You can walk through a library looking for classes that descend from something, and then instantiate those.
CommandTemplate newcmd;
Console.Write("Loading commands");
Assembly a = null;
AssemblyName n = new AssemblyName("mycmds");
a = Assembly.Load(n);
foreach (Type t in a.GetTypes())
{
if (t.BaseType.Name == "CommandTemplate")
{
newcmd = (CommandTemplate)Activator.CreateInstance(t);
}
}
Console.WriteLine(" Done");
I guess you didnt understand my last post. Yes, just not vb.
Try posting in the vb forum then, as ive used DLLs in other languages but not vb 6 and before.
Do a google for filemon - used to be made by sysinternals - MS took over it, monitor what files its trying to read and whats being blocked.. It maybe as simple as its read only
Please google for pascals triangle.
Please mark the thread as solved
You could always have a boolean flag which you use to show the different pictures ..
how would you split it then?/xorl
I already said how Id split it - I just wouldnt have made it so it was a physical string of \r\n, but the escape characters.
Why do all your questions sound like exam questions - that and you never comment on anything anyone writes to you.
An application exception is something you generate such as You dont have permission to do that, a system exception is something the OS generates - eg file not found
Hmmmm i did a split like this
string []titles = readpls.split(new string[]{@"\", @"\r\n"},
[snip]
Hmmmm i did a split like this
[0] "#extm3u\r\n#extinf:4779,addictive djs - crush on hardcore 3\r\n" //remove with indexof?
[1] "Streamripper"
[2] "addictive djs - crush on hardcore 3.mp3\r\n#extinf:312,al storm and the acolyte ft lisa abbott - falling through (alistair storm remix)\r\n"
Well I guess thats what happens when you tell it to take as litteral the escape characters you were trying to split at..
sigh
Well if you did an initial split on \\ and \r\n, you would have a bunch of stuff and then parts of which would be
#extinf:nnnnn,
so you could find the , and remove upto it, and its your title, or, if it ends in .mp3 its your filename..
Does it only see fullname?
Have you bothered this time to read the helpfile ?? or is this the same as all your other posts?
I hadnt checked the if (a=b) thing, I did however assume that would work like c/c++ would, my bad. :P
I fell fowl of the ignored the return value of a function when I was using the string replace function, quickly hacking some code together for something and forgot to assign the changed string back to itself..
I am surprised on its pickiest warning level it doesnt mention that you didnt use the returned value, perhaps you should suggest it for VS2010 which is in beta..
At the same time, I cant help but wonder then how many times we all use some function and ignore its return code... and how many warnings it would generate if it did actually warn us..
try using (local) instead of . as your server name
ok, so it was a console application - and no that doesnt have a handle, all forms in a windows application have a handle.
Perhaps what you expected is different to normal win32 operation - sounds like you're thinking .net
that and you already asked this you act like a spammer
You could recompile your program against the new version.
google is your friend.
Check httpwebresponse and httpwebrequest
OK
The code you posted is partly confusing in regards to where your code appears to be - however, looking past that,
If you had made a class, you could have an array of that class, it would then hold the id, name and 2 results. rather than separate arrays for each.
As for your how to use the listbox, press F1 - when in doubt. It has examples. You're kind right but again if you did 1 class you could easily handle the what is displayed as your item.
How to use arrays is also well defined in your helpfile - but it looks like you have a start.
Your classes arent public - so you cant see them
I believe so, its not something I gave much consideration to, Although I do know for example youc ould argue that one of the things in C was that you could do things such as
if (a = b) { .. }
which worked if a got set to b and is still valid in c#, so you could argue a lot of return values arent used as the boolean in that case isnt used in a single line of
a= b;
Just because a function returns something it isnt always required you want it.. While I havent checked Im fairly sure you can do so with most functions.. in fact things like
String s = "this is a test";
s.Replace("s","5");
Doesnt produce the desired effect because it returns a string, but the code didnt make use of it - but it compiles and runs :)
I guess you havent looked in your helpfile... Make a console app, click on the wor d static, press F1 - you have an example and explaination already.