|
I need samples of code on how to
create win32 programs with a visual
inferface like KPT Bryce and KPT plugins for photoshop.
So basically, nothing like the standard windows interface.
I've been trying to sort this for years, and I believe
it's an important issue with XP basically looking like Mac Applications
- visually appealing. It's what customers want.
I've only found samples on designing curvy windows.
Is there a standard way (easy way) for creating KPT Bryce like
interfaces??
Haniff Din
www.haniff.co.uk e-mail: haniff@magicaldesk.com
|
|
|
|
|
What API will allow me to do this. How can I tell if path is already mapped. I am using a win2k machine.
Thank You,
SAK
|
|
|
|
|
WNetAddConnection2
Best Regards....
PD.
If you wait for a couple of day I will publish a set of Net classes....
Carlos Antollini.
Today is Friday!!! for All!!!
|
|
|
|
|
|
I have started programming in 2D graphics and would like to know if anyone could help me. I want to create a clock using circle() and line() functions. Then have the clock ticking in seconds. If anyone would have an answer it would help me a great deal. I want to use Borland C++3.1 to create this clock. Please help I want to try and get it finished by next Friday??
Sarah Fox
|
|
|
|
|
|
Flubby: It depends on what you're doing.
If you're ok with depending on MFC, then VC is, of course, better. But for straight API programming I find BC's code better, much better. (except for multithreaded apps where there is a problem with the memory allocation libraries and you've gotta work extra)
Too bad Borland is no longer providing support for BC and I'm forced to consider moving to VC: VC's resource editor sucks big time and precompiled header handling is also very bad.
And what's with this stupid message "file XXX.cpp has changed.. do you want to recompile?"
you feel like answering "Nooooo.. just ignore the 50,000 extra lines I've just typed.. OF COURSE I want you, a compiler, to compile!.. haven't I payed for that???"
What VC does kick BC's ass is in project-file handling: In BC, sending a project to someone else is sh*tty because the project files keep references to your computer's paths.. while in VC, the paths are relative.
MAN! I wish Borland would keep enhancing BC.. but, too bad: I'll probably have to cope with VC's creepy auto-generated code.
Sonork ID: 0.2
|
|
|
|
|
Migs wrote:
And what's with this stupid message "file XXX.cpp has changed.. do you want to recompile?"
Hm... I think the message reads either:
1. The file has changed, do you want to reload?
2. The project settings have changed, do you want to rebuild.
It appears that you are actually editing the files outside of VC++ while keeping it open, which is where you trouble would come from. Use built-in editor and you should be fine. Or perhaps you open the same project twice in different VC++ instances...
|
|
|
|
|
You'd probably do better in the Visual C++ forum, although you're not using VC++, I don't think this forum gets much traffic.
Why are you using BC ?
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
|
|
|
|
|
BC is one of the very few compilers still at a price users on a budget can easily afford.
We do it for the joy of seeing the users struggle.
|
|
|
|
|
I have a list of data that is inserted to a text file in this fashion:
data.txt:
**********
sean
bob
sally
joe
smith
**********
When I add to this list, it adds new names to the bottom of the list. I use the writeline command to write. Is there a way of added to the top of the list instead of the bottom of the list.
Is there a command that writes to the top of the line?
If I need to use a DO WHILE loop how should I get the source file in a temporary variable? RIght now im using a temporary file to store the old contents of the text file...
Any help would be great!
Thanks!
|
|
|
|
|
since they are plain text files, you could try this :-
create file f1 with your new text
lest say f0 was your old file
now copy f1+f0 -> f2 using the dos copy command [I think you can make calls to batch files from ASP]
put this in a batch file
copy f1+f0 f2
thus you now have f2 with your new contents ahead of your old content
delete f0 and f1 and rename f2 to f0
Nish
|
|
|
|
|
<name>"&objRecordset("buffet")&"
this is one of the sentence for my programme.
there r four choices in the recordset.
wat should i add in the programme,so as the item which the customer had chosen will be inserted into the database???As there's another script after this,the inserting of data will be carry out in the next script.
|
|
|
|
|
1. Developing a "Screen Saver"
2. TAPI 2.0 (3.1 has been pulished though)
3. "Event logging" in Windows 2000
Let me know, and I'll start it off this sunday.
Cheers,
Mehdi Mousavi
MSVC++ Programmer
|
|
|
|
|
I think an article on writing screen savers would be useful.
You could show us how to draw on the desktop and stuff like that
And I hope it will be in C++
Nish
|
|
|
|
|
I have a task at work where the simplest implementation (from the user's perspective)would be in the form of a custom toolbar that would work in Excel. The application deals almost exclusively with manipulating speadsheet data, so I think a toolbar or other groop of buttons would be an elegant way to implement this. I've never written such an application before, but I have done similar stand-alone Windows applications. Where do I start? Where's the best information to get going on this? Are there examples around anywhere?
RhinoBob
|
|
|
|
|
Helllo there Mike,
I'm no expert on this topic, but I might give you some starters insight.
If I get you right, you are not interested in writing Excel macro's (did you consider that as well ?) but a real stand alone application which communicates with Excel ? If so, then look for the techniques 'DDE' or 'Automation'. A good starting point would be installing your Excel again from the Office setup and include Visual Basic help on Excel. VB is commonly used for letting an application communicate with Excel and the likes. Also have a look at the developpers MSDN section at htpp://www.microsoft.com.
Hope this helps a bit..
Arno van Loenen
|
|
|
|
|
Mike,
What I would recommend is that you look at using Visual Basic for Applications to implement in Excel. There are some great books like:
Microsoft Excel 2002 Visual Basic for Applications Step By Step
http://www.microsoft.com/MSPress/books/5163.asp
Cheers!
Colin
|
|
|
|
|
how to update the last data.
objConnection.Execute "UPDATE buffet_list SET buffet = 2500 WHERE order_id=???"
wat should i put in place of the ??? to get the last order_id???
order_id is Autonumber
aaa
|
|
|
|
|
SELECT MAX(order_id) FROM buffet_list
and then you do the update, OR
UPDATE buffet_list SET buffet = 2500 WHERE order_id IN( SELECT MAX(order_id) FROM buffet_list )
or some other flavour, but you get the idea.
Andres Manggini.
Buenos Aires - Argentina.
|
|
|
|
|
It would be very useful to see some code for how to put an
Ethernet card into promiscusous mode in a Windows environment
since M$ figures if you don't buy a Server OS, you don't need
to see your local packet traffic. I know this is possible,
I just don't have even an idea of how it is accomplished.
|
|
|
|
|
You want WinPcap - see the offical website:
http://netgroup-serv.polito.it/winpcap/
From the website:
"WinPcap is an architecture for packet capture and network analysis for the Win32 platforms. It includes a kernel-level packet filter, a low-level dynamic link library (packet.dll), and a high-level and system-independent library (wpcap.dll, based on libpcap version 0.5).
The packet filter is a device driver that adds to Windows 95, Windows 98, Windows ME, Windows NT and Windows 2000 the ability to capture and send raw data from a network card, with the possibility to filter and store in a buffer the captured packets.
Packet.dll is an API that can be used to access directly the functions of the packet driver, offering a programming interface independent from the Microsoft OS.
Wpcap.dll exports a set of high level capture primitives that are compatible with libpcap, the famous UNIX capture library. These functions allow to capture packets in a way independent from the underlying network hardware and operating system.
WinPcap is released under a BSD-style licence."
|
|
|
|
|
i`ve just posted the ultimate winsock sniffer ! that`s all you ever wanted !
//rate me or hate me
I am the mighty keeper of the book on knowledge . Contact me to get your copy .
|
|
|
|
|
My company uses People Scheduler (an obsolete product) for employee scheduling. They can't upgrade it, and it won't run on anything newer than Win98. So I've been playing with writing my own replacement.
I've been searching for a control that simplifies employee scheduling; most Time & Attendance programs use such a beast to graphically build and adjust schedules. In such a control, a horizontal bar is movable and resizeable using the mouse, or by changing a tabular time entry. Within it there is a region in a contrasting color that behaves similarly, and represents a lunck break. I haven't seen anything resembling one yet - any ideas?
|
|
|
|
|