|
I am sorry, I cannot understand this. Please clarify. Do you want to move the control, move the scrollbar within the control, move items around inside the control, or something else ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi,
as far as i can understand your question you want to move(Drag and place) the Listview control on to doffrent place at run time. If it is so yoe can use MouseMove and MouseDown events of the list view to perform the task.
or if your question is somthing diffrent then please ask your question in details.
Good luck.
Regards,
Paramhans Dubey.
|
|
|
|
|
I am planning on developing a software in VB.Net that will monitor telephone calls made by workers in a office. Can someone please help me out with how to go about it? Thanks
|
|
|
|
|
Well, your first step would be to do some research into ways that you might expect to interact with a particular type of phone system, if you have a specific office in mind, or what phone systems you CAN interact with, if you're writing something generic. If you have a specific office in mind, I doubt very much that all, or even most, phone systems can be monitored in code.
Then your next step is to write some code. Your final step is to ask specific questions here if you get stuck. This smells of someone bidding on a rentacoder job, then asking here how it is done.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
On top of what Christian said, you also have to deal with legal issues. In the US, unless you specifically spell out this policy and notify BOTH parties on the line that the call can be monitored at the beginning of the call, you cannot legally monitor the call.
|
|
|
|
|
hi all,
Please help me to solve the following problem.
Today i am in trying to send an exe file to my client through e-mail. I attached the same and sent the mail successfully, and asked my client to download the same. But my client found the mail without any attachment.I repeated the same atleast 4 time but my client could not find any attachment.
i could not understand, What is the reason?
Kindly help me.
Thanks
Rafiq
rmshah
Developer
|
|
|
|
|
This is plainly not a programming question. His mail server is probably stripping it. Use yousendit to deliver executables. Gmail for one definitely will not send any exe, even in a zip.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
As Christian said, Gmail does not accept EXE files as attachments (not even inside a ZIP); however it suffices to modify the file extension to say EXE2. I trust some other mail systems have the same policy.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
.NET memory encreasing (GetBitmapBits)
I am creating an application for my Logitech G19 keyboard with a LCD screen.
First i created a bitmap where i put some information on (such as text) to put on my lcd screen.
Dim bmpNet As Bitmap
...etc...etc... put information, text...etc...
Then, i have to convert the bitmap to bytes/intptr as the following line says with GetBitmapBits:
GetBitmapBits(bmpNet.GetHbitmap, lcdBMPQVGAx32.pixels.Length, lcdBMPQVGAx32.pixels)
Function is declere on top of my source code as:
<DllImport("gdi32.dll", CharSet:=CharSet.Auto, SetLastError:=True, ExactSpelling:=True)> _
Public Shared Function GetBitmapBits(ByVal hbmp As IntPtr, ByVal cbBuffer As Integer, ByVal lpvBits As Byte()) As Integer
End Function
Now, every time GetBitmapBits invokes, the memory of my application will encrease with 200kB/300kB. I have a timer ticking, so the memory will encrease every, 2 a 3 seconds.
Can someone help me with this problem?
Thanks in advance.
Colin Raaijmakers
|
|
|
|
|
Hi,
this is hard to diagnose as you haven't shown much of the code.
I don't think GetBitmapBits() is wasting any memory, it seems more like a copy operation, it does not allocate any memory. However it needs an lpvBits parameter, i.e. a pointer to the destination buffer. I guess your code, probably the couple of lines above the call to GetBitmapBits, allocates a new buffer each time and those buffers are not released and collected in time.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
hi,
make sure you destroy the pointer you retrieve from GetBitmapBits every time you call the function.
|
|
|
|
|
That will be: lcdBMPQVGAx32.pixels
and yes, i am destroying it with "lcdBMPQVGAx32.pixels = nothing".
Tried anything, but it's not working...
|
|
|
|
|
Hi i am a new software student i need help on programm this project,it consist of two teams Vocational’ and ‘Academic’ teams competting against each other and the game they play are
• Chess
• Spelling
• General knowledge
• Each match is ‘best of three’ single games of one type of game
• Staff/students cannot play other members from the same department
• Team members of each team can only play another team member once
• Each team member will take part in one match for each type of game.
To allow results to be entered, the aim of the program is to
• Prepare a list of matches for the games competition
• Identify the winners of each match on the schedule
• Calculate the points awarded to each House
This will allow the Principal to present the Most Intellectual Cup to the most successful team in the college at the end of the day.
The program must be thoroughly tested before the games competition starts.
These are the specific requirements for your programme:
• The interface must use the following colours:
o Vocational – green
o Academic – blue
Data for Games day
Staff/students and their team
Total in Academic team is 18 Total in Vocational team is 18
Total pupils is 36
|
|
|
|
|
Help with what? You haven't asked a question. Which part of this pile of specs are you stuck on?
|
|
|
|
|
Hi David i need help with a code on how to creat a fixture between to teams competing against each other. thanks
|
|
|
|
|
And a "fixture" is what, precisely??
|
|
|
|
|
it a match game consist of two teams of 18 players each and they belong to different department
Team A and Team B
i need help on how to
Prepare a list of matches for the games competition
Identify the winners of each match on the schedule
Calculate the points awarded to each House
|
|
|
|
|
You're not getting the point. I keep asking you to provide more and more detail about the exact specifications and you keep repeating the same thing. Without all the detail, you have no hope of completing the project because you are unable to define in as close to step-by-step terms what the specifications of the project entail.
maybel wrote: Prepare a list of matches
And this would be determined how?? What makes up a match?? What are the rules for determining who plays who?? Are you talking about one person vs. one person, or one team on team?? What determines points?? These are just some of the details that you have to fill in. Leaving all of this stuff out is why you can't get an answer and can't write the code to do it.
|
|
|
|
|
game they play are
• Chess
• Spelling
• General knowledge
• Each match is ‘best of three’ single games of one type of game
• Staff/students cannot play other members from the same department
• Team members of each team can only play another team member once
• Each team member will take part in one match for each type of game.
To allow results to be entered, the aim of the program is to
• Prepare a list of matches for the games competition
• Identify the winners of each match on the schedule
• Calculate the points awarded to each House
Team A
18 1n total and belong to 7 different Departments
Team B 18 1n total and belong to 7 different Departments
example are as follow
game they play are
• Chess
• Spelling
• General knowledge
• Each match is ‘best of three’ single games of one type of game
• Staff/students cannot play other members from the same department
• Team members of each team can only play another team member once
• Each team member will take part in one match for each type of game.
To allow results to be entered, the aim of the program is to
• Prepare a list of matches for the games competition
• Identify the winners of each match on the schedule
• Calculate the points awarded to each House
Team A
18 1n total and belong to 7 different Departments
Team B 18 1n total and belong to 7 different Departments
example are as follow
Academic Team Department Vocational Teams
Albert A Technology Bertha V
Arnold V Betty A
Aswan A Borris P
Charles V Business Denise V
Colin A Debra A
Edward V Academy Felicity A
Elias A Freda V
Earl V Fiona A
George V Construction Harriet V
Gilbert A Hebe A
Gerry V Helen V
Gwyn A Hilary A
Ian V Accountants Jane A
Idris A Jenny V
Isaac V Jasmine A
Keith V Early Years Laura A
Kenny A Leila V
Kevin V Linda A
|
|
|
|
|
First step - read your references
Second step - write some code
Third step - ask real questions, that is, questions about how you tried to do it yourself and need specific help
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
... makes me not wanting to hire software grads these days for development jobs ...
|
|
|
|
|
I have two application (similar) in vb.net.
I want to send a message from A to B with params.
I use SendMessageTimeout o SendMessage but i have some problem to receive a params.
Can I have some example where i send o receive one structure?
Thanks
|
|
|
|
|
Hi,
if you need to send more data than a simple variable can hold, you need to allocate memory in the other process' address map, write the data, then send a message using a pointer valid in the destination process. Not all straightforward. IIRC my LP#TrayIconBuster[^] article uses something like that.
A much easier approach could be to write data through a named pipe, using either some Win32 P/Invoke, or the new NamedPope[^]class in .NET 3.5
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Luc Pattyn wrote: or the new NamedPope[^]class in .NET 3.5
Benedict XVI, presumably?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Right, that's the one. He'll carry your messages around the world. No UAC can stop him.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|