|
Thanks Mycroft
You have probably saved me a lot of time that I might have spent piddling into the wind!!
I shall crack on with some SSRS tutorials then.
|
|
|
|
|
I'm a newbie so apologies if I'm asking a dumb question.
A colleague showed me a web site VS2008 solution which had a mix of C# controls and other modules in VB code.
I've created a Windows Forms based application and I've found some cool classes in C# that I'd love to use.
Is there any way to do this in the same application.
I'm using VS2008 with .NET 3.5
Thanks in advance
1
|
|
|
|
|
Right click on the node called "References" in your solution-explorer to add a reference to the C#-assembly, and you're good to go
I are troll
|
|
|
|
|
The C# project is in it's own project so not quite sure which file to add as a reference?
Thanks in advance.
1
|
|
|
|
|
You can either add;
- the generated assembly file, as found in the bin\debug folder,
- the complete .csproj file (by choosing the menu File, Add, Existing Project)
The first method is the easiest to perform, the second method compiles the C# code if you build your own code (updating everything that has changed in the C#-project)
Good luck
I are troll
|
|
|
|
|
ksportz wrote: I've found some cool classes in C#
AFAIK there should not be any difference in the classes available in C# and those in VB.Net unless you wrote it.
In case you have written it and its just a matter of using classes, then create a class library project, compile it to a dll and add as reference.
Time is the best teacher; unfortunately it kills all of its students.
जय हिंद
|
|
|
|
|
Hello
How i can get the date 6 month late from this date (Now)
thanks in advance
Assaf
|
|
|
|
|
You mean past right ??
DateTime.Now.AddMonths(-6); or future ??
DateTime.Now.AddMonths(6);
|
|
|
|
|
Hello everybody,
in order to group radio buttons (and other controls) I use a class "clsCheckGroup" which inherits GroupBox.
When it comes to using it on a form I face visual differences between other (normal) groupboxes and my "checkgroup" (i.e. font color). In the designer I found that the normal groupboxes implement "me.Groupname.UseVisualStyleBackColor = True" which my class can't implement (error msg: "...is not a member of...").
What would I have to do (i.e. add to my class) in order to use the visual styles?
Thank you
Michael
|
|
|
|
|
I want to create setup that is run for only limited users as microsoft do for limited user or to run cd for limited users in c#
|
|
|
|
|
What? I am not sure what you want. Do you want an installer that can be run a limited number of times or do you want to restrict the number of users that can use your software?
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
so if you want to do this in c# why are you asking in vb.net forum?
what have you done so far, where are your problems? simply saying "I want" doesn't get you any answers, but the abuse of the community
|
|
|
|
|
Hi to everyone
I have added two COM components (Vlc player and windows media player) in my project. I wanted to know whether I should add some reference or do anything like that during building the set up and deployment project. Will those two component name be same in all machine?
thanks in advance
I am a learner Always
|
|
|
|
|
You should include them in your installer, as you cannot be sure that you PC on which the software is installed will always have them installed.
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
thax
please tell me how to include them in the installer.
I am a beginner
|
|
|
|
|
Hi Everyone,
I have a question about remoting. We have a server app running on a TCP port where clients can connect to do do all sorts of stuff. These clients are connected over the internet.
At the backend, we have our database which the clients query and some other applications ( including management app for the clients, a website etc) connects to this database.
Recently, we started moving everything into remoting hosted on IIS for easier use and scalibility ( since most of these apps are doing the same stuff in the same database)
Now my question is regarded to the Server application. In there, we have a list of clients ( list(of MyClientClass) to represent the collection of connected clients.
I would like to be able to query this "live" list of connected clients and do stuff with them from my different applications. Moreover, i would like to be able to put multiple of these Servers but still be able to treat the connected clients as one collection (if possible).
I was thinking remoting both the "client class" as the list of connected clients. Although this has a few minor performance drawbacks ( servers and IIS hosted remoting are in the same place connected over 1 Gbit Ethernet so that should not be such a worry right ?), it makes it easy to interact with the connected client collection.
Is this the way to go or should i consider other options ?
Thanks !
Do Or Don't, there is no "try catch ex as exception end try"
|
|
|
|
|
Hi to all,
could anyone please tell me how to restrict the user for different tabpage in a tabcontrol in vb.net2005
Basically in my code I want to restrict the user to click some particular tabpage in the tabcontrol. Like how we can do for button (button1.visible=false)...
The user should not be able to click only to view the contents
Or it will be more useful for me if there is anything like tabpage.visible=false. User wont be able to view the tabpage only
Thanks in advance
I am a learner Always
<div class="ForumMod">modified on Tuesday, March 3, 2009 3:07 AM</div>
|
|
|
|
|
try
TabControl1.TabPages(0).Visible = False
hope this helps
|
|
|
|
|
AFAIK there is no visible property of tabpages.
Time is the best teacher; unfortunately it kills all of its students.
जय हिंद
|
|
|
|
|
yaa! you are right. i just suggest to try whether it is works or not? I apologize for my previous post
however msgbox display "False" in following statement but visiblity status does not work accordingly
TabControl1.TabPages(3).Visible = False<br />
MsgBox(TabControl1.TabPages(3).Visible.ToString)
|
|
|
|
|
hello Rupesh...
you are right...So any other method we can do the same?
I am a beginner
|
|
|
|
|
Tabcontrol is not meant for this purpose. All you can do is that either add and remove the tabpage whenever required. Other than this you can use WndProc method to trap when the user has clicked on the concerned tab page and filter it.
Time is the best teacher; unfortunately it kills all of its students.
जय हिंद
|
|
|
|
|
thanks for ur reply
Could you please tell me how to remove the tabpage in the code dynamically
thanks
I am a beginner
|
|
|
|
|
TabControl1.TabPages.Remove(TabControl1.TabPages(TabControl1.TabPages.Count - 1))
|
|
|
|
|
Rupesh Kumar Swami wrote: TabControl1.TabPages.Remove(TabControl1.TabPages(TabControl1.TabPages.Count - 1))
He never mentioned it is the last page. Instead of count - 1 thingy use the required index.
Time is the best teacher; unfortunately it kills all of its students.
जय हिंद
|
|
|
|