|
Is anything showing in the report footer?
Are you sure you don't have the report footer suppression turned on?
|
|
|
|
|
Place a piece of literal text in the footer to verify that the footer is being printed.
|
|
|
|
|
Hi Everyone,
Please i need help, i was trying to deploy my solution using click once technology and received the following error.
Error 1 Failed to connect to 'http://server/TestClickOnce/' with the following error: Unable to create the Web site 'http://server/TestClickOnce/'. The Web server does not appear to have FrontPage Server Extensions installed.
|
|
|
|
|
Well, might it be a good idea to first go and install FrontPage Server Extensions on the server ?
My advice is free, and you may get what you paid for.
|
|
|
|
|
thanks for the idea but i have already installed frontpageserver extension
|
|
|
|
|
There's a bunch of reasons why you'd get this error. I start by going down the list you find here[^].
|
|
|
|
|
What's the VB equivalent for the C code below? Do I need to use marshaling?
typedef struct
{
char tableName[256];
char variableName[256];
char value[256];
long sheet;
Enum_Data_Type varType;
} ITF_VariableType;
I'm trying to pass it as a parameter in a function, but it's not working.
The function is:
DllExport long WINAPI itf_TablesetReadVarList(void* buffer, ITF_VariableType* variableList, long totalVariablesToRead);
Thanks
|
|
|
|
|
It's not so mcuh as the "equivilent" code as how do you get the parameters acrossed to the function your calling in a manner that is acceptable. That's up to the function you're calling.
What do you have so far??
|
|
|
|
|
If you're just looking for a way to port this code to VB, then it's pretty straightforward:
Public Class ITF_VariableType
Public tableName As New String(New Char(255){})
Public variableName As New String(New Char(255){})
Public value As New String(New Char(255){})
Public sheet As Integer
Public varType As New Enum_Data_Type()
End Class
Note that 'struct' in C/C++ is nearly identical to 'class' in C++, so you don't need to convert to 'Structure' if you're just interested in porting code to VB. If your interested in interop, then it's a little trickier.
David Anton
http://www.tangiblesoftwaresolutions.com
Convert VB to C#, C++, or Java
Convert C# to VB, C++, or Java
Convert C++ to C#, VB, or Java
Convert Java to C#, C++, or VB
|
|
|
|
|
I successfully converted a project from VB6 to VS2003 as VS2003 is what I had originally. Everything was working as expected. I just got VS 2008 and upgraded (opened) the project and now I get an error with one of the DLLs I wrote (I have a couple and the others worked fine)
the error is type 'MyXXX.XXX' is not defined, so I go to add a reference and I get the error:
A Reference to 'C:\mypath\MyXXX.dll' could not be added. Could not load the type library, Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)
Googled it but did not seem to find much directly related
any idea where I should be looking? (or doing?)
Thanks in advance,
No-e
|
|
|
|
|
Has that type library been upgraded as it's own project and recompiled??
|
|
|
|
|
Nope, have not touched it in years....
I have a couple, this one does not work, the others do.
No-e
|
|
|
|
|
The next thing I'd do is recompile that component under the new compiler and try it. It could be that the component is encounter a breaking change from .NET 1.1 to running under .NET 2.0.
|
|
|
|
|
Hi,
I'm sure I have seen this question posted before on CP but I am unable to find it if so. I have 2 ComboBoxes on a form both bound to the same data source. But when I change the selected index in the first the second changes also, and vise-versa.
Can somebody please give me some hints oh how to do this properly. Thanks.
(Just in case it matters, the data source is a generic list of user defined objects)
|
|
|
|
|
<EDIT>
Sorry - I just reread that and it didn't sound right. It should be BindingSource, not Navigator. Attribute it to rectal-cranial inversion.
</EDIT>
You have to stick 2 BindingSources's in between the combos and the datasource. Each combo will have it's own BindingSource between it and the datasource. Both BindingSources will have their DataSource properties pointing at the single data source.
modified on Thursday, July 30, 2009 12:19 PM
|
|
|
|
|
OK Dave thanks for that
EDIT: Just tried it and it worked perfectly. Should I be using the BindingSource object to do all of my data binding rather than binding directly to the data source?
modified on Friday, July 31, 2009 4:19 AM
|
|
|
|
|
Not really. I only use it when I've got multiple controls that need to see and navigate a single datasource independant of other controls.
Think of it this way. Every control on a form using the same datasource also uses the same binding manager. The binding manager maintain a currency manager (which has nothing to do with money!) which keeps track of which record is the current record all of the controls are looking at. When one control changes the current record, all the controls get pointed at the new current record.
The BindingSource class lets you escape that model and sets up another, seperate set of binding objects that does the same thing, independant of the first, or default set.
In your case, technically, you don't need two BindingSource objects. You only need one. I just used two objects for better code readability. What's easier to understand??
Dim bs As New BindingSource
bs.DataSource = data
ComboBox1.DataSource = data
ComboBox2.DataSource = bs
or
Dim bs1 As New BindingSource
Dim bs2 as New BindingSource
bs1.DataSource = data
bs2.DataSource = data
ComboBox1.DataSource = bs1
ComboBox2.DataSource = bs2
They work exactly the same...
|
|
|
|
|
Ah I see, understood
Thanks for taking the time to explain it so well.
|
|
|
|
|
Hello ! I have very irritating problem with progressbar control. It only manifests in Vista and Windows 7 ... The thing is, when I increase value, in Vista and Windows 7 there is nice animation that fill's up progress bar.
But that is also problem for me, because when I do something, and that is done, I display message (bla bla - DONE), but progress bar isn't full.
Here is screenshot:
Picture
I do progressbar.Update always after I change value, but it has no effect
|
|
|
|
|
Do you set myProgressBar.Value = myProgressBar.Maximum when your activities are completed?
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.”
|
|
|
|
|
yes, and it fill's to the end, but other lines of code are executed before it is filled ...
Here is little sample:
myProgressBar.Value = myProgressBar.Maximum
myProgressBar.update()
msgbox "Done!"
and in that sample message box is showed before progress bar is filled to the end
|
|
|
|
|
The Update() method for any Control (ProgressBar included) simply causes that Control to re-paint itself, as it is. It does not cause it to update its data. So calling Update() is a waste of time in this case. applying the new value will cause a re-paint, eventually.
Short of calling Application.DoEvents (which I hate) I have no solution, sorry!
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.”
|
|
|
|
|
It's a well known problem with Aero. I don't think you can do anything about it, unless you force users to select a theme with no slo-mo animation for progress bars.
2+2=5 for very large amounts of 2
(always loved that one hehe!)
|
|
|
|
|
Yeah, I was afraid of that ... So there's no way to fix it (except to wait few seconds to be sure that it is filled up) ?
|
|
|
|
|
Yep, no way that I know of.
2+2=5 for very large amounts of 2
(always loved that one hehe!)
|
|
|
|