|
> I took the "U" word out of the subject line since it can upset people around here
Oops, I didn't realize that! OK, I fixed it, thanks.
> Why are you not using Table or Matrix controls?
Er, maybe I'm missing something? If I use a Table/Matrix control, the data will display in tabular format on a single page of the report.
Maybe I didn't describe it too well. I'll try again.
I have 5 customers in a table. Each customer has a name, company and an account balance. I need a 5-page report with each page exactly the same except for the name, company and balance fields.
Like a mail merge. In fact, EXACTLY like a mail merge.
Thanks
|
|
|
|
|
You could stretch out the height of the cells to force one customer per page.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
The 'customer' example I gave is a pretty simplified example. In reality, the report layout is pretty complex--a lot of data fields mixed in with plain text snippets, lines and so on. There wouldn't be room for the stretch you describe, I don't think.
There's no way to do it in the report configuration?
|
|
|
|
|
Jeff Bowman wrote: way to do it in the report configuration?
I'm not 100% about that. as far as stretching at the bottom, just have a filler row in the table at the bottom before the footer. Sure would be nice if it had a page break thing in the toolbox like MS Access Reports has
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
|
I love learning something new when trying to help
I must link that MSDN link into my blog for future reference
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
|
|
I couldn't get that one to work like the list grouping. It must be the grouping that does the trick. In this case I used the table's primary key.
I'll have to fiddle with this one later on when I've got some more time.
(Time? You mean someday I may actually have TIME?)
|
|
|
|
|
Paul Conrad wrote: I'd recommend modifying your subject line
What is next: suggesting the OP to ask another question ?
|
|
|
|
|
Originally he had a certain word in his subject line that would have gotten him flamed, and he took it out
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Paul Conrad wrote: Originally he had a certain word in his subject line that would have gotten him flamed, and he took it out
I figured that, so I chose not
|
|
|
|
|
Hey all,
I am attempting to create a program that runs in the background, takes keypresses from the keyboard, changes the keypresses to different keys, and sends the new key to the program running in the foreground (for example: I press "A" and the program in the foreground gets "F"). I thought that DirectInput would be the best way to go about this. However, I cannot seem to initialize the program correctly. I want to use the below code to gain control of the keyboard:
Dim keyboard = New Microsoft.DirectX.DirectInput.Device(<SEE BELOW>)<br />
keyboard.Acquire()
However, "Microsoft.DirectX.DirectInput.Device" wants the guid of the keyboard passed to it as an argument, and I cannot find out how to get this. So, How can I find the guid of the keyboard? I have looked all over the internet for the way to do this, but all I can find is information about directx8 or code in C++.
Also, while I am asking, will this program prevent the actual keypresses from getting to the program in the foreground? Using the example from above, if this program can't hide the actual keypresses, then the program in the foreground would get "AF", instead of just "F". Thanks for taking the time to help me.
NOTE: I am using Visual Basic 2005 Express Edition.
|
|
|
|
|
|
You don't need DirectX or DirectInput for this. Just write a Global Keyboard Hook. Search the articles for "keybook hook", or Google for "VB.NET Global Keyboard Hook" and you'll find lots of resources.
|
|
|
|
|
You can find the keyboard's guid on here:
Microsoft.DirectX.DirectInput.SystemGuid.Keyboard
In other words, you should create your dxkeyboard object like the following example:
Protected mKeyboard As Microsoft.DirectX.DirectInput.Device = Nothing
mKeyboard = New Microsoft.DirectX.DirectInput.Device(Microsoft.DirectX.DirectInput.SystemGuid.Keyboard)
Sincerilly yours. Manusoftar®
|
|
|
|
|
I have developed a software in .Net framework 2.0.
When I install it and then try to uninstall it, it shows the following error message:
Could not open key:HKEY_Local_MAchine\Software\Microsoft\Protected Storage System Provider\*Local Machine*.Verify that you have sufficient access to that key,or contact your support personnel.
I am using my administrative account and it is showing the same error.
What to do?
X
|
|
|
|
|
Not sure and it doesn't sound good.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi, would you please explain the Encoding.UTF8.GetBytes("abc") part of the following line:
Dim b As Byte() = Encoding.UTF8.GetBytes("abc")
I've read about what UTF8 is but I'm not real sure on how to use it. Also I don't know whether "abc" is the name of a datafield or a function. Please elaborate, thank you in advance for your help.
|
|
|
|
|
The GetBytes method will return a byte array containing the UTF8 representation
of whatever string is given to it.
I trust "abc" is just a silly example here.
Read the documentation for more.
|
|
|
|
|
"abc" is a literal string, concisting of the three characters 'a', 'b' and 'c'.
Encoding.UTF8 is a static property in the Encoding class that returns an Encoding object for the utf-8 encoding.
The GetBytes method encodes a string into an array of bytes. Each character in the string is encoded into one or more bytes in the array.
The three characters in this specific string are each encoded into a single byte, so in this case the array will contain three bytes.
---
single minded; short sighted; long gone;
|
|
|
|
|
Thank you. You took the words out of my mouth, errr, off my keyboard
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Suppose I have a file called MyDocumument that is stored as a blob in a database. So if I want to put it in an array of bytes so it can be displayed, I probably can not simply pass the name of the file in like this Encoding.UTF8.GetBytes("MyDocument") . How would I then put this in an array of byte, and do I even need to encode the file inorder to display it? Please explain, thanks for your time.
-- modified at 18:55 Saturday 28th July, 2007
|
|
|
|
|
How are you displaying the information? Unless you are writing the output as a binary stream, you don't have to encode the data. Most ways of output takes strings, and does the encoding automatically according to a previously selected encoding.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi all,
i am using showModalDialog to open the popup window. I am sending one object from parent window to child window and doing some processing in child window. Now I have to set the values in the parent window based on the calculations in the child window.
I came to know that from the child window, we can set the values for the controls which are in parent.
I appreciate if some one can let me know how to do this…..
Thanks in advance,
Rahi
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|