|
Got the issue.
installed visual studio 2008 sp1 and it got fixed.
Thanks.
|
|
|
|
|
Suppose i am writing code in .net e.g
int i=10
then .net show me red line under the code where error occurs.we know the i have not apply semicolon at the end of syntax(int i=10;)
who handles these error while writing the source code???.
|
|
|
|
|
Visual Studio IDE
Arindam Banerjee
Sr. Software Developer
Rance Computer Pvt Ltd.
Kolkata (India)
|
|
|
|
|
Do not spam the forums. Pick one and stick with it.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I am trying to create a bitmap after using capCreateCaptureWindow and capPreview. The video appears in the picture box but I can't seem to save the bitmap using capFileSaveDIB (which returns true after calling it - file does not appear in the directory).
I can successfully save the image to the clipboard but was not successfull in saving the contents to a bitmap.
I am using visual c++ 2008 express edition, and therefore have no MFC library.
Any suggestions would be greatly appreciated!
|
|
|
|
|
In my webpage iam having the text '2nd number of passcode' where this number is changing dynamically each time when the page loads. And based on this number we need to select the value from the combo box (having 0 to 9). Is there any way that we can get the number in that label so that i can assign the number respective to the combo box. (both label number and combo box number value remains same)
Is this possible in visual studio 2010 coded ui automation testing?
|
|
|
|
|
jaimo wrote: this number is changing dynamically each time when the page loads.
Where is it coming from? Magic?
jaimo wrote: Is there any way that we can get the number in that label
Ask the magician who created it.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Needs further explanation bro!!
|
|
|
|
|
G. S. Doiphode
Asst Prof
Applied Mechanics Department
Faculty of Technology & Engineering
The M. S. University of Baroda
Baroda
Gujrat State
Dear Sir
As i have read the your complete resume during surfing internet while searching a link between Vb6 and Matlab. Let me introduce, Myself teaching faculty at M. S. University of Baroda, to UG and PG students since last 13 years. The subjects are structural dynamics,theory of plates and shells,numerical methods and structural analysis.As, I am pursuing my Ph.D( Structural Engineering) in which i have my input file in Vb6 and the processor program that. I have developed in past in Matlab6.5 before 4 months, now it's somehow more difficult to convert the matlab program into Vb and work as single platform.
So, since last few days, I am in search of linking those two softwares,i.e., using vb6 can i run the all the function s of Matlab command line. I have read the matter in help file i.e., regarding development of COM file etc... but does'nt work that much.
See if you can help me in this line
thanking you
G. S. Doiphode
Baroda
09427331516
|
|
|
|
|
|
Pursuing a PhD, but yet you have absolutely no clue what the purpose or functionality of a forum envrionment is.
|
|
|
|
|
Hi all,
I am working on a feature where in we can allow/disallow changing system time to any user. We can run this application from an administrator's account and set if a particular user can change system time or not. Even the administrator (who itself is logged on) itself can allow/disallow himself changing time.
While googling I found that there is some, The system user right SeSystemtimePrivilege that controls the ability to set the system time. I could not find how to complete my feature via the privilege SeSystemtimePrivilege using C#.
Can somebody help me how to that using c# (or even C++). Even if there is some other way of implementing this feature, please let me know.
Thanks in Advance
Best Regards
Aseem
|
|
|
|
|
You have posted exactly the same question in C/C++/MFC forum (here[^]) and in System Admin forum (here[^]).
I know that sometimes it is hard to determine the best forum for a given question, but it is not a good idea to post the same question to multiple forums. Try to choose the most appropriate forum for your questions.
Please read the forum rules[^].
|
|
|
|
|
Hello,
I'm having troubles with Control.PointToScreen Method. I need to move mouse over controls center and then click on it. I am doing something like this:
Point aP = theControl.PointToScreen(new Point(theControl.Width / 2, theControl.Height / 2));<br />
MouseClick(aP);<br />
I have two monitors. When I select as primary monitor first one, it works fine. Mouse is moved correctly over center of control and clicked. When I select as primary monitor second one, mouse is not moved to the center of control, but elsewhere in the form. I need to have the same behavior on the both screens. Does anybody know what is the problem here?
Thanks in advance,
noIdea77
|
|
|
|
|
Please do not post the same question to multiple forums. It generally will not help you get an answer any faster and will make it more difficult for other people to find the correct answer.
Although this is the original post, the post found here[^] has more activity on it and should be used instead.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|
|
I have a MustInherit class A, something like
Public MustInherit Class A
Protected A as Integer
Public Sub New(ByVal X As Integer)
A=X
End Sub
Public MustOverride Sub B()
End Class
and I want the declared constructor to be used for any derived classes. However, in derived classes, like
Public Class D
Inherits A
Public Sub B()
A+=2
End Sub
End Class
VS gives me an error, saying that there is no constructor in A that can be called without any arguments. Is there any way I can inherit the constructor?
~ Soumya92
|
|
|
|
|
Soumya92 wrote: VS gives me an error, saying that there is no constructor in A that can be called without any arguments.
Let's add that constructor then, and override the B sub;
Public Class D
Inherits A
Public Sub New(ByVal X As Integer)
MyBase.New(X)
End Sub
Public Overloads Overrides Sub B()
A = A + 2
End Sub
End Class
I are Troll
|
|
|
|
|
If class D inherits From Class A and Class A has no paramterless constructor, then you have to have a constructor with at least the same signature as the original constructor and call MyBase.New(X). Your class D can have more parameters but one has to be an integer, which must be passed to the original constructor. If you think about it, it makes sense as you need to create an instance of both classes to create an instance of Class D.
|
|
|
|
|
The whole idea was to _not_ declare the constructor again. I agree that it makes sense to construct the base class object first, but I want the base class constructor to be used if I do not specify one in the derived class.
~ Soumya92
|
|
|
|
|
Soumya92 wrote: The whole idea was to _not_ declare the constructor again.
Sorry[^]
I are Troll
|
|
|
|
|
In other words, you want to be able to create a new "D" using the constructor defined in "A"?
Short answer... You can't. Constructors don't inherit in .NET... You have to explicitly call them in a constructor in "D".
Public Sub New(ByVal X as Integer)
MyBase.New(X)
End Sub
If you have a lot of these subclasses, then you might want to move the initialization code out of the constructor and into an Initialize(X) sub that you could call after instantiating it. Easy enough to set a boolean flag so it can only be called once.
|
|
|
|
|
OK. Thanks a lot for your quick replies. We'll call the question resolved, then?
~ Soumya92
|
|
|
|
|
Yep, sorry it's not the answer you wanted.
|
|
|
|
|
I'm trying to patch/inject/hook (or whatever method is the best) a .net assembly exe. My objective is to extend the CollectionChanged event of all ListView classes in order to write the ListView content to a file.
The program uses a classe that extends from ListView to show some data. What I would like to do is use this data in another program I'm writing. I have already tried to use some OCR tricks but they are slow and sometimes does not produce the intended result.
I've tried to use reflector to find some info on the assembly but it is obfuscatored and I'm not very skilled reading il code : )
Is this even possible to archive?
What should I be looking for?
Any help would be much appreciated. (a working example would be great!)
Thanks in advance.
|
|
|
|
|
Maybe I posted this in the wrong section?
If so can someone please move it to the right section?
Thanks.
|
|
|
|