hi,
when i tested my program (database system) on same computer, i dont have any problems, but while i tested on real network situation, there are some problems arised which i dont know why it happened, so i would like to have some comment from you guys, hope u could help out here, thanks.
1...
thanks for your reply, that was my first tried, doesnt work. the "enable write caching" button is there, after u confirm it by clicking the OK button, it should work but the button is "unchecked" instead of "checked" next time u view the properties again.
i done...
hi,
i couldnt find any solution to enable "write caching" on removable hard disk using USB, i know it's disable by default. i hope if i could get any solution from anybody here knows about that.
thank you.
p/s: no issue on performance or anything else, i just wanna know how to...
actually i just tried to make my class more portable!
my classes are actually not a big deal classes, i have several classes inherits JFrame, because of the reason self define methods, i can't casts them to Jframe and perform the functions.
but afterwards i found it can't really good! and i...
thanks for all of u guys, i finally find out the answer. and of course i do know the benefits of polymorphism or other OOp techniques, but the reason is my situation doesn't need abstract or interface because the classes i have does not have related to that level.
maybe the code i design not...
sorry, i keep mentioned no interface or Animal class. i created Dog, Cat & Fish is just for an example...
because of some reason i must cast Dog/Cat/Fish to Object and now i have to cast it back to it's original type from object instance, i DON"T have and DON"T need Animal class...
sorry about that, i didn't ignore ur advice and i did post previously to inform that my situation doesn't rely on polymorphism or interface, but just what i post didn't send successfully, that's why i ddin't post another one. that's only one example, sorry about that !! i know the concept...
actually what the example i showed just a simple example that match my situation! my situation doens't concern about polymorphism, interface and so on ... and sorry about that my english explaination is too poor. And sorry that i don't really understand how ur example can match my situation...
i wanna say thanks to you first :)
but the example u showed previously doesn't match my situation, u only used that for stored back boolean and i can't figure out there's any way i can use/modify from ur example to suit my situation. And also Vector.toArray function return as object type, it...
sorry that i mess up the question and thanks for all the guys in my previous question > Object Casting Question < i would like to clearly define my question again.
Away from polymorphism or something else, i would like to know is there any solution/function that can cast an Object type...
hrm ... ! that's what i know, but now i need a solution to cast and obj to its original type and perform sound() function.
normally we do to cast object to another type and perform the sound() function by:
((Dog) obj).sound();
but assume that i don't know what it original type is, how can i...
what actually i meant was casting to unknown type without checking my own class one by one, because once i have a lot of classes, i have to make bundle of code just for checking what type it original is.
for example again:
1. Animal extends Object
2. Dog extends Animal
3. Cat extends Animal
4...
i wonder if there's solution to cast Object instance to its original Class Type without knowing its original type
for example:
Dog dog = new Dog();
Object obj = (Object) dog;
is there possible to cast "obj" to its original type without the code like:
Dog anotherDog = (Dog) obj...
i tried a sql command in MS Access and it work properly but when i tried to put it in commandtext in vb.net (of course modified some to suit vb code), it had problems. how's that happened?? is that vb.net doesn't support it? thanks for answer me.
example : SELECT bread.[bread id], bread.Name...
try this code, it jump to marker "main" after played the movie (ex. mpg) :
if sprite(me.spriteNum).movieTime = sprite(me.spriteNum).member.duration then
go to movie "main"
end if
hope this help :)
coz your "result" is never store any data!!
TRY:
result = MsgBox("Are you sure you wish to quit the application?", MsgBoxStyle.YesNo)
. . .
OR
If MsgBox("Are you sure you wish to quit the application?", MsgBoxStyle.YesNo) = MsgBoxResult.Yes Then
End...
"the moviepath" should return the path of your movie
eg. abc = the moviepath & "document.doc" get the file of your current movie folder
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.