|
Application.OpenWindows, from memory, lets you iterate over the open windows of an app.
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 )
|
|
|
|
|
Hello,
I have VS 2005 and using the crystal reports that come with VS 2005.
"The type initilizer for 'CrystalDecisions.CrystalReports.Engine.CRPE' threw an exception"
I have some reports that worked fine a few weeks ago. And now I am getting this error with I never used to.
It can't be anything to do with the code, as nothing has been changed there. I also deployed the application a few weeks ago, and that application is still working on the customers computer without any printing problems.
Can anyone help me solve this problem.
Thanks very much,
Steve
|
|
|
|
|
What does the InnerException in this Exception say?
Something got changed, that much is certain. Be it in your code, or in the rest of your dev machine somewhere, but something changed.
|
|
|
|
|
Hello,
Thanks for the reply.
The inner exception says: "Could not load crpe32.dll"
But i have this dll when I check in this folder: C:\Program Files\Common Files\Business Objects\2.7\Bin
Yes, I agree something must have changed, but nothing would have been changed on purpose. The code for the report has not been changed at all.
Maybe something else.
Any further help would be most gratefull,
Thanks,
Steve
-- modified at 17:13 Wednesday 16th May, 2007
|
|
|
|
|
It looks like you're not alone[^]. It doesn't look like there's a fix yet. You might have to get ahold of BusinessObjects support to get a patch, if it's been released yet.
|
|
|
|
|
Hello to all,
i am using vb.net 2.0,my problem is
i want to display XML file content in treeview conrol
i can jump desired node...
plzzzz .... Help me....
Thankx in advance, best regards
-manavya2006
Be My Love...with .NET
|
|
|
|
|
Last time I had to do something like this, I did something like this[^].
|
|
|
|
|
Hi ...
someone told me that vb.net can make a User's Manual of the projects >>>
I searched without result ....
Can any one explain that ?
thanks for my best foum ..
jooooo
|
|
|
|
|
In the strictest definition of "User's Manual", no, it can't.
It can, however, generate documentation files on the code that can be imported into other documentation utilities. But, this is dependant on the code actually having documentation annotations in it!
For VB.NET 2002 and 2003, you have to use a third party tool called VBCommentor (Google it!). For 2005, it's built in[^]. Then, you can use Sandcastle[^] on it.
-- modified at 15:32 Wednesday 16th May, 2007
|
|
|
|
|
Am in this Step
"Accepting an input parameter, which needs to be accepted from the user, so the next important Activity is Accepting it from the user and storing it in the string type variable Declared earlier."
Am following a Book instructions and it this is an Example of the Book.
strAuID = Trim(InputBox("Enter Authour ID.:"))
i have Few Questions Based on this Statement.
1)Does the Function Trim ,only works for string Vaiables?
2)Am Accepting User input From a Textbox and here was my code
strNum_key = Trim(txtnumkey)
strExtension = txtextension
strCell_ID = txtcellid
strActual_Extent = txtactualextent
strLis_key = Trim(txtliskey)
strFunc_key = Trim(txtfunckey)
.After i have done this it give me an Error and highlight the above lines, when i comment the first one it highlight the second one and so on.
i need to know what is wrong with my above code compering it with the Example of the Book. Note, all the variables are Well declared,textboxes well named.
Thank you
Vuyiswa
|
|
|
|
|
Trim only works on strings and only returns strings.
Nowhere in your code have you converted a string representation of a number to an actual number.
Dim n As Long
n = Val(Trim(txtnumkey))
This tiny example, of course, doesn't do any validation or handle any errors if the string cannot be converted to a number! This is left up to you.
I highly suggest picking up a book on VB for beginners. I doubt you can find a VB6 book anymore, so you might be forced to move to VB.NET.
|
|
|
|
|
Yes i got the Book and am moving to vb.net,i have a vb6 book,it worked when i Put the "Val". now i got another Error in Appending Parameter.
ComLis_key.Parameters.Append prmLis_key
Parameter Object is improperly defined. Inconsistent or incomplete information was Provided
What Does it mean
Vuyiswa
|
|
|
|
|
1)Does the Function Trim ,only works for string Vaiables? trim is only for strings
2)if this is vb.net then you must specify the property .text
strNum_key = Trim(txtnumkey.text)
|
|
|
|
|
|
my misunderstanding...
thanks
|
|
|
|
|
Everything is now Ok but i have one Problem, please tell me what should i keep in mind, about the following Errors
"Application uses Value of wrong type for the current operation"
This is th errors in vb6
Set prmNum_key = ComNum_key.CreateParameter("Num_Key", adBigInt _
, adParamInput)
Set prmExtension = ComExtension.CreateParameter("Extension", adBigInt _
, adParamInput, , txtextension.Text)
Set prmCell_ID = ComCell_ID.CreateParameter("Cell_ID", adBigInt _
, adParamInput, , txtcellid.Text)
Set prmActual_Extent = ComActual_Extent.CreateParameter("Actual_Extent", adDouble _
, adParamInput, , txtactualextent.Text)
Set prmLis_key = ComLis_key.CreateParameter("Lis_Key", adChar _
, adParamInput, 50, txtliskey.Text)
Set prmFunc_key = ComFunc_key.CreateParameter("Func_key", adBSTR _
, adParamInput, 8, txtfunckey.Text)
Here is my SQl Procedure code
Create Procedure prcInserting @Num_key varchar(10),@Extension int,@Cell_ID int,
@Actual_Extent float,@Lis_key varchar(50), @Func_key varchar(8)
,@Active bit,@Add_date datetime,@Add_User_ID int,@Spatial_ADD_Date datetime
,@Rateable bit,@Non_Discreet_Valid bit
with recompile
as
insert into Propery(Num_key,Extension,Cell_ID,Actual_Extent,Lis_key,Func_key,Active,Add_date,Add_User_ID,Spatial_ADD_Date,Rateable,Non_Discreet_Valid)
values (@Num_key,@Extension,@Cell_ID,@Actual_Extent,@Lis_key, @Func_key,0,getdate(),1,getdate(),0,0)
And its working only in vb, tell me what to keep in mind with insert procedures that are linked to vb for input
Vuyiswa
|
|
|
|
|
Like I keep trying to tell you, you are NOT CONVERTING the data in the textbox's to an appropriate data type!!
A textobx will always return a string. You have to convert that string into a number with the Val function. Then you pass that NUMBER into the parameter:
Dim v As Integer
v = Val(Textbox1.text)
Set preCell_ID = ComCell_ID.CreateParameter("Cell_ID", adBitInt, adParamInput, v)
|
|
|
|
|
Hi all,
in VB2005, how can I asssign the whole object attributes to another object of the same type. For example, if through the code I've assigned the attributes of a DataGridView object (AllowUserToddrows, ...), is there any way to copy them to another Datagridview object?
Thanks in advance,
Marc Soleda
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
I've never had the need to do this, so a litte research is in order...
There's no way to copy a DGV in one line of code, no.
The most correct way to do this would be to put the code that setups up your grid properties into a shared method, then just pass the datagrid object you want setup by refrence. Done. No need to copy the object.
Other than that, you'd have to create a method that takes a DGV ByRef as a parameter, then code it to create a new DGV object, copy all the properties you want from the supplied DGV to the new one, then return the new object as a return value.
[EDIT]
You could probably do this with Reflection though.
-- modified at 12:32 Wednesday 16th May, 2007
|
|
|
|
|
hi,
I want to develop little application for Audio /Video Conferencing System. Presently i have no idea from which point i start.
i require address of some article through which i can learn step by step .
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
There is nothing that will tell you how to do this step-by-step. Applications are built up by putting together smaller parts that support very specific pieces of functionality. Break the problem down into interfacing with a web cam, recording audio, socket communications, and so on. Break each of those down into smaller parts and tackle them.
You can get samples of all these little pieces, just by Googling[^].
|
|
|
|
|
can anyone tell me the sql command for counting number of entries in a table and displaying as integer in textbox
|
|
|
|
|
select count(*) from tablename
Hope that helps.
Ben
|
|
|
|
|
thanks that helped a lot.
can you also help me with this similar query too.
i need to do the same query but search only for entries where in one of the columns there is the letter f as appose to m. but i cant use a text box to enter the f.
this is what i got but gives me the same answer as 'select count(*) from tablename
"Select count(*) from Pupils where Sex LIKE '%" & F & "'"
cheers
|
|
|
|
|
actually dont worry i worked it out for myself
cheers lots
|
|
|
|
|