|
I am currently on Vista so it maybe a permissions thing but i will play around with them. Why is it teh simple code that don't work
Thanks again
|
|
|
|
|
Okay I have kinda of got it working with a Try and End Try. The problem i am now facing is that it doesnt over write the file it only adds onto the existing text which i have erased and uploaded
|
|
|
|
|
Hi,
Please help me out to solve the following issue.
I created an MDI Form, and linked to many Child forms.
And created a Window menu with the 'mdilist' property set to TRUE.
But when i run the application, the window menu shows only numbers (like 1,2,3.....) and not the name of the child forms that i have loaded at runtime....
How to solve this Issue.
thanks
Krishnan
Krishnan
|
|
|
|
|
Resp Sir,
I am harshal Patil student of final year. I see you project, It is very nice and impressive. I want full project with source code for my study purpose. Full project means which draw at least four to five types of diagrams of uml. It is very important for me and my study. So please kindly understand my request.
Yours faithfully
Harshal Patil
(patil_harshal@hotmail.com)
harshal
|
|
|
|
|
You should try coding your project first and only post here problems your facing so that we can help.
|
|
|
|
|
harshpatil wrote: I want full project with source code for my study purpose
Sure thing. I'd estimate a cost of $5000 for me to write this for you, although I'd need to see a better spec to know if it would be more. Let me know.
Of course, if you try to do your own assignment, I'd be happy to help you, for free.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Despite our disagreement below, I like your answer to this one Christian.
Kevin
|
|
|
|
|
I came across a file that was in use (i was trying to delete the file using a application i made) but the file couldn't be deleted. Is their a way around this. Or is their a way that i can find what program is using this.
I would rather that any help did NOT envolve an application, but would be very greatful for examples or code that might help me.
Thanks for any help!
|
|
|
|
|
|
Hi guyz i have 3 buttons pk, and on the page load i want the backgorund of hte bttuon to be as i set in the database clolumn, for nstance ihabe a table Button and fields description and color
at the load i want the button background to be retreived from the table and be the backgound for this button ???! and ideas
Viper Investigates...
|
|
|
|
|
Does this mean it's an ASP.NET page ? If not, you can just set these properties any time you like. Which bit is causing you grief ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I developed my own custom web combobox component which used to display just fine in the VS 2003 designer. I also developed the designer for my component in VB.Net 2003. Unfortunately, while I was working on getting the properties in the component to work just the way I wanted them too, the component stop displaying properly in the designer, so now I get the gray box telling me that there was an error creating the component, and a pop-up saying that the style string for my component's button couldn't be set to the values in my ASPX page for all of the instances of the component in the page.
I've walked though the code using the debugger and don't get any errors, and the component renders properly with the settings that the designer is complaining about.
Anyone have any suggestions on how to debug this?
Thank you.
P.S., if anyone knows of some good resources on how to develop designer modules and property editors for the designer, please pass them along. I am in serious need of creating my own property dialogs for my component. Assuming it ever works in the designer again.
|
|
|
|
|
I have a form with no border and I want in a buttons click event
to Minimise the form. can this be done?
|
|
|
|
|
Yup,
Are you using images or standard buttons?
Use this to close the application:
Application.Exit()
and this to minimise the form:
Me.WindowState = FormWindowState.Minimized
These need to placed in the correct subs for the corresponding buttons.
Oli
|
|
|
|
|
Dear All,
I am developing a small VB.NET application to interface using a web client to pass data between the app and a PHP driven back end. I want to secure the data travelling between the two systems. I have been playing about with the encryption methods outlined in Jeff Atwoods article '.NET Encryption Simplified' using symmetric encryption with the Rijndael algorithm with the default key size (256) also setting the key & iv with strings which has been working perfectly both encrypting and decrypting in VB.NET and outputting to a readable base64 string. Now this is where it gets confusing. I have setup a basic PHP script to try and get the same base64 string that VB produces out of PHP using mcrypt. In short I can't get the two strings to tie up (probably due to my lack of knowledge ). I have mcrypt setup with the same key, keysize, algorithm, iv & mode (CBC). I try to encode the word 'test' and PHP will spit out a base64 string 44 chars long and VB will generate one 24 long! What I would like to know is has anyone tried doing this before?? Any pointers as where I could be going wrong?? As far as i'm aware at the moment this shouldn't be too much of an issue?? (i.e. encrypting / decrypting between PHP & VB.NET). I'm sorry for being a bit vague.
UPDATE:
I now believe it is the padding type between PHP & VB.NET. PHP Mcrypt padding with 0x00 and VB.NET PKCS.
UPDATE:
It was the padding type! If anyone is having the same problem, you need to pad the string input with PKCS5 to the required block size before feeding it to PHPs mcrypt. I have also found the same is true with VB.NET & Java interop.
Thanks in advance
Oli
-- modified at 7:52 Monday 26th March, 2007
|
|
|
|
|
Hi all,
I am new to VB (no .NET) .
I am learning VB. Can anyone guide me with a sequence of VB Projects (Beginner to Advanced) I should work with.
Thanks in advanced.
|
|
|
|
|
mailquark wrote: I am new to VB (no .NET)
Why would anyone learn VB6 today ? It's long out of date, completely orphaned, and it sucls.
If you have any option, learn .NET.
mailquark wrote: Can anyone guide me with a sequence of VB Projects (Beginner to Advanced) I should work with.
Buy a book and work through it. There is no definitive list, you're asking for a collection of opinions.
Of course, I doubt any VB6 books are in print, but used books are cheaper anyhow, so....
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: Why would anyone learn VB6 today ? It's long out of date, completely orphaned, and it sucls.
Your anti-VB rants get very tiresome. But regardless of your opinion there are still valid reasons for learning VB. There is a lot of legacy code out there. Much of this may well be being extended in VB. The Office applications still use it. Even some new MS apps., such as Expression Web, use VBA (strangely).
Kevin
|
|
|
|
|
Kevin McFarlane wrote: Your anti-VB rants get very tiresome
LOL - actually, I don't care if people use VB.NET. I don't even care that people support legacy VB6 systems. VB6 was and is crap, however, and either way, why would someone want to learn a language that is unsupported and has no forward path ? Many MVPs petitioned MS to keep VB6 support on the basis that VB.NET is a completely new language with VB like syntax. They were right ( it needed to be, see point one ( VB6 sucks )).
BTW, if you go into the VC forums, you'll see I have just as many bad things to say about people using VC6 today ( for different reasons, VC6 was a very poor C++ implimentation, VC 2002 was a major leap forward ).
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: VB6 was and is crap
I don't think so. I hate Perl probably almost as much as you hate VB. But I still wouldn't call it crap.
Christian Graus wrote: why would someone want to learn a language that is unsupported and has no forward path ?
Depends on their context. Suppose they happen to be lumbered with legacy code that management wants extended rather than rewritten? They may need to learn VB sufficiently to be able to maintain it properly. We don't know what the OP's context is.
Christian Graus wrote: you'll see I have just as many bad things to say about people using VC6 today ( for different reasons, VC6 was a very poor C++ implimentation, VC 2002 was a major leap forward ).
Same thing applies. Lots of code being maintained in VC 6. I haven't done any C++ since the start of 2005. Prior to this and post-VC 2002 I did quite a lot of C++ in a few contracts. There was not the slightest indication that these customers were going to migrate their C++ to anything newer anytime soon (one client was still stuck on VC++ 1.5, for example). They were more likely to go .NET for legacy VB6, while leaving legacy VC++ components at version 6. IIRC you take a dim view of MFC devs using the MFC collection classes instead of STL?
I just think you need to find out where an OP is coming from before slagging off their choice of tools.
Kevin
|
|
|
|
|
Kevin McFarlane wrote: I don't think so.
OK, well, you're welcome to your opinion. I hope I'm also welcome to mine.
Kevin McFarlane wrote: We don't know what the OP's context is.
That's true. However, people do still learn VB6, and some schools still teach it. I'd stand by my advice. I left a job I loved because we moved from C++ to Python, and I didn't think that learning Python was a good career move ( or, more specifically, I thought it was better to keep improving my C++ ). If I had a job that suddenly required VB6, I'd look for another. I've turned work down because it was VB, in the past.
Kevin McFarlane wrote: Lots of code being maintained in VC 6.
True, and if I have to maintain it, I often would stick with VC6. But, I sat in a room of C++ MVPs the other week, and most of them said they would write new code in VC6, because they hate the new IDE. It's still happening, and it just doesn't gel for me, the STL in VC6 was awful, there are so many deviations from the standard, why stick with it ?
Kevin McFarlane wrote: IIRC you take a dim view of MFC devs using the MFC collection classes instead of STL?
Of course, that's just ignorance. MFC containter classes offer nothing that STL classes do not, and the reverse is most certainly not true. Historically, MS wrote those classes only as a stop gap until they had an STL implimentation in their compiler.
Most of my C++ work was in MFC, but I found a huge productivity gain in moving to the STL containers, and it meant that when I was writing non MFC code, I already was intimately familiar with the containers that I had no choice but to use, when MFC was not there.
Kevin McFarlane wrote: I just think you need to find out where an OP is coming from before slagging off their choice of tools.
Were the OP to reply that they have no choice, I would offer my sympathy. It would not change my opinion of VB6 as a tool, it seems to me that VB was written to be easy to use, and that the design process for the language was sloppy, to say the least. VB.NET is full of stuff from VB6 that MS tried to do away with, and had to keep due to a revolt ( the VB6 devs are revolting... :P ). VB.NET is at least roughly as powerful as C#, but I'd still recommend C# to a new dev over VB, VB is just full of nastiness and voodoo, it's considerably harder to read, IMO, and the weak typing can lead to all sorts of nasty things happening when you didn't ask them to.
Overall, I have no problem with VB.NET, if I did, I would not be here, trying to help people who use it. I would never advise anyone to use C# over VB, unless they needed to do image processing, or something else that required pointers. VB6 is a whole different ball game. If someone is learning it in 2006, I'd seek to make sure they realise that what they are learning is a dead language.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: But, I sat in a room of C++ MVPs the other week, and most of them said they would write new code in VC6, because they hate the new IDE. I
Well, I'm with you there. I've not done any C++ with the .NET-era IDEs. But if I were told to cut some new C++ and was given a choice of IDEs, naturally I would use the up-to-date ones - even if I happened to prefer the old IDE.
Christian Graus wrote: the STL in VC6 was awful, there are so many deviations from the standard, why stick with it ?
At the start of 2005 I was doing some VC++ 6 maintenance. I used some STL and my boss at the time objected saying: "we don't use STL here." I don't think he was objecting to the VC++ 6 implementation, he just didn't see any benefit over MFC. Fortunately it was only a 3-week project.
(Actually, I've found in the past with C++ that many have barely heard of anything beyond raw arrays and pointers. Even using MFC collection classes is an advance! Stroustrup has ranted on this - in a good way.)
Christian Graus wrote: VB6 is a whole different ball game. If someone is learning it in 2006, I'd seek to make sure they realise that what they are learning is a dead language.
Fair enough.
Kevin
|
|
|
|
|
Hi guys, the name pretty much says it all, I am as far as savedialogfile but i am completly stuck. My aim is to save a .txt from a textbox with a button.
Thanks in advance, Brad
|
|
|
|
|
In VB2005, there's something like File.SaveAllText("filepath", "Text");
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi, thanks for teh reply, i still cannot get it to work. Any more ideas or anything specific to know.
Thanks
|
|
|
|
|