|
Do a google search on: "VB.Net"+Undo+Redo
may your code be error free.
(okay, maybe two lines.)
|
|
|
|
|
What you're looking for is writing your own implementation of the Command pattern[^].
|
|
|
|
|
We are integrating different systems into one solution, each system is consisting of one project and we are using source safe to maintain our codes. we are having problems in downloading one project for each programmer, how can we distribute each project without downloading the whole solution.
for example, we have 2 programmers and 2 dependency projects, let's say programmer A and programmer B, project A and project B, respectively. Those projects are dependencies of project C. We are avoiding each programmer to download both project A and B.
modified on Thursday, February 7, 2008 10:10 PM
|
|
|
|
|
I have a problem on how to distribute different projects to our programmers using visual sourcesafe. Our IDE is visual studio 2k5.
Can you help me, please...
|
|
|
|
|
I am trying to read a list of PointPairList points and put them into an array. I want to perform some math functions on the list of points. Also I am only going to want the y points in the list. Wonder if that is possible? The y points are values and the x points are just points for time.
|
|
|
|
|
You' going to have to use the forums[^] for Zed Graph for this question. What you're asking has nothing to do with the .NET Framework or VB.NET.
|
|
|
|
|
I'm writing a small app in Access using VB. I need to loop through all of the control names in the form and then delete the one in which the control name is "Title", and which is a label.
'Suppose all declarations are already made'
For Each ctl In frm.Controls<br />
If ctl.ControlType = acLabel Then<br />
If ctl.name = "Title" Then<br />
ctl.?????? - removing/deleting step<br />
End If<br />
End If<br />
Next ctl
I don't know how to actually delete the controls. I can ADD controls and EDIT them OK, but deleting them is misleading me. Any ideas? Thanks.
|
|
|
|
|
reegan41 wrote: I'm writing a small app in Access using VB.
That's not VB. It's Access VBA.
Try posting your question in the SQL forum.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Actually, I've seen VBA questions here before. VBA is more VB than it is SQL, I'd say the problem is that we really don't have a 'right' forum for this question.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
reegan41 wrote: For Each ctl In frm.Controls
If ctl.ControlType = acLabel Then
If ctl.name = "Title" Then
ctl.?????? - removing/deleting step
End If
End If
Next ctl
Just guessing... but isn't frm.Controls a collection? If so, you should be able to delete from it?
|
|
|
|
|
I am working on a class project and want to make sure I am on track. Right now, I have a single Access Database with nine tables. In the project, I have one binding source and one dataset. I also have a Binding Source and a TableAdapter for each table. Is this way it is supposed to work, or I doing something very wrong?
If anyone has a few good current articles I would appreciate it. All I found on google was for vb6 or SQL.
Thanks
|
|
|
|
|
That's one way of doing it. The 'right' way to do any sort of DB code is to have a seperate dll to handle all database access, and to write methods for each database call you're likely to make. This would not involve any sort of binding sources, you'd write actual code to connect and call database procedures.
However, for a class project, the way you're doing it will work just fine, and be a lot less work.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I am trying to use the Visio Drawing Control in a vb.net windows application but keep getting an error everytime I try to drag the control onto my form. I am using VS2003 and I have Visio 2003 installed on my machine. I have added the control 'Microsoft Visio 11.0 Drawing Control' to my toolbox. Whenever I try to drag this control onto my form I get the following two errors:
'An unspecified error occured' and then
'Unspecified error'
I have tried to uninstall/reinstall Visio 2003, the Office 2003 PIA's and nothing seems to work.
Any help would be greatly appreciated.
Thanks
Matt
|
|
|
|
|
I think I may have figured out why this is happening. When I installed Visio 2003 (months ago) I never bothered to register it. For a while I was able to use this drawing control on other applications with no issues. After a certain amount of time or amount of times used visio will disable some of its functionality until it is registered. Because I was not actually using visio I did not notice this. The drawing control must have been encompassed within the functionality that was retricted. Once I registered visio I was able to use this control once again. Thank you to all the people who tried to help.
Thanks
Matt
|
|
|
|
|
Hi!
I created an application and using a listview box and a progressbar. However I have processed data inside an aspx file. What I want is:
While I am processing data I want to populate listview box (Which is out of aspx file) and also the progressbar.
How could I referance to a listviewbox and progressbar inside an aspx file?
Thanks!
Juneyt
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
You can't, they are not web controls. Does this mean you're writing a website and are asking in the wrong place ? Or do you have a forms app that somehow runs an asp.net site locally as well ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I have a local web page. It is not web site. The web page is asp.net based but the problem is I have embeded this aspx web page in my windows application's inside. The application is written with vb.net. Therefore I assumed that there should be a way to reference any object in the application regardless of whereever they are.
In this case I have performed a search in the database in aspx file and at same time I want to populate the listview box with some of these data and also show the progress bar which are in Windows application but not in aspx page.
Thank You!
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
The only way to embedd a web page in a winforms app so you can see it, is to have a web browser control inside your form. At this point, what you've got is kind of stupid, because suddenly your web form is disconnected from the rest of your app ( you would need inter process communication to talk between the ASP.NET project and the forms app, and you need IIS on any machine that runs this app, and finally, what you can put on your web page is limted compared to a forms app, including, as you're finding, that you can't easily put forms controls on the web page.
Basically, I'd say your design is broken. Why are you embedding a locally run web page in your app ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi all
what i m trying is, in outlook when user opens write new mail and enter an address then if the entered address contains some specified text, then my application should come to front else it runs in background.
i m not confirm what event should i trace.
is some one has any idea about that
thanks in advance
|
|
|
|
|
Hi All,
I have a .wmv files, I have encrypted the files(wmv).
Now, it won't play in any players. I want decrypt the video file without saving into Disk and to play the video files(wmv).
Thanks & Regards
Kumaran
|
|
|
|
|
You need to write a codec.
Steve Jowett
-------------------------
It is offen dangerous to try and see someone else's point of view, without proper training. Douglas Adams (Mostly Harmless)
|
|
|
|
|
I am building an application that needs to compare data from 2 different ODBC sources. I need to compare certain tables, joined with other tables, with the same from the other ODBC. The table structure will be the same in both ODBC databases BUT the values will not. This is known.
I am looking for a method to best compare the data. Perhaps using DataTables, DataViews, or even XML? I am not too knowledgable about XML and the related functions.
Performance is important here, since there will be a lot to compare. However, output is also very important. I would like to show the record in the table that contains different values from the other database and also show the user the properties and values that were found to be different. How best to show this?
Really appreciate any help on this.
Thank you
John Wadleigh
Siebel Expert
|
|
|
|
|
If one of your data sources is in SQL Server, you could set the other server up as a linked server in your SQL Server. You could then run queries that compare the different entities in each database.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Unfortunately it is not. The 2 databases can be either MS SQL, Oracle, or "Anywhere" databases. I was thinking of querying both DBs to get data and store this information in either DataTables or what-not. Then somehow compare and output it all in a nice fashion.
The problem is in comparing and outputting... Not sure if there is a slick way to do this, as I am sure someone else has done this before of comparing data between two DBs.
John Wadleigh
Siebel Expert
|
|
|
|
|
You could consider using LINQ to perform Intersect and Except set operations between entities that hold data from each data source. See this article[^] for more information.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|