Refer C Sharp Programs Within The .net Program?
Jun 22, 2011any easy way to ref c sharp programs from visual basic? Can it be referenced from within the .net program?
View 2 Repliesany easy way to ref c sharp programs from visual basic? Can it be referenced from within the .net program?
View 2 RepliesI am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).
View 4 RepliesIn vb, if wanted an easy way to convert from one of my classes to another custom class, i can define the CType operator to define how to convert from one class to the other. I can then call CType( fromObject, toNewType) to do the conversion or in c# i guess you can just do a simple cast.
However, in c# how do you define how the actual cast will be handled from one custom class to another to another custom class (like you can in vb using the CType operator).
In class i saved my program in with load of other test programs for the same assignment and got everything mixed up i finally figured out what was what and loaded the program in Visual Basic. Now my program doesn't recognize one of my forms when i try to access the design view of it. I hit run for the hell of it and the program runs with errors of course but the form1 "the missing one" shows up with all the buttons etc and i can use it.
Heres the link to the files. [URL]
I am trying to build a windows application that will automate a regular routine steps that I have to do for taking a backup.The flow goes like this...1.open a folder2.run an exe there3.open jumpbox server at which point we have to enter a username and password4.create a folder5.then open a network folder using the ip suc
View 2 RepliesI'm working on a program, just to learn a bit more about programming. The program's function (if I manage to do it) will be to accept drag/drop files and create a link to them within the program itself. For example: I drag and drop the .exe to a game I have installed; the program then creates a shortcut within itself; the shortcut is displayed in the program with the name/icon; if I click the icon within the program, game launches.I've already manually coded something to this same effect, but it doesn't automatically add new shortcuts/buttons so I have to keep going back in and reprogramming another button every time I install a new game/program. I'd like to be able to just drag/drop and be ready to go. Any ideas on how I can get this function? I'm using Microsoft Visual Studio 2010.
View 9 Repliesdoes anyone know how to get my program to scan for a program such as ie then add it to a toolstrip as a button then when i click it it opens ie??I like..... Understandable Answers
[Code]...
I want to make a simple window which would contain a list of some free programs available for download. The program list would be derived from a web page that has download links to the programs. My program would check this webpage, and provide the download links so that the user could download the programs in-window.
View 3 RepliesI would like to create a program that would install a program depending on the checkbox selected.
View 3 RepliesI'm making a program which should close and block different programs, but also i want i to be a able to close and block different websites. So if i have my browser opened and i'm on www.facebook.com then i want to block the acces for this site.
View 2 RepliesIm new to programming and I started by grabbing some code here and there from various internet sites. I made some little programs without sense but Im stuck on my new program.
[Code]...
This question may be vague but I was wondering if anyone has ever implemented an application that basically creates a UI to list and monitor all running applications you have running. This applies to many developers who might have multiple programs running continuously and it would be great to have an app that monitors these programs..or does anyone think it is just unnecessary.
View 1 Repliesi just wanted to make a really simple program to hide/restore programs listed in the taskbar. the hiding part is working, but somehow i cant get the window to show up again ? >< here is the code i am using:
Public Class Form1
Private Declare Function ShowWindow Lib "user32" ( _
ByVal hwnd As Long, _
[Code]....
i've also tried this with a button for show and a button for hide aswell incase SW_HIDE and SW_RESTORE are being used too fast after each other, but same issue.
I made a program that clicks in different places. I wanted it to be able to click on other programs, but it doesnt. I know it clicks because when i test it on VS where i am typing changes when the program clicks.
View 1 RepliesI want to make a program that can communicate with other programs, Like a tcpserver/client.But i don't know where to start. I want the user to be able to submit several urls to pictures on the internet and for other users to be able to view those pictures. How can I do this?
View 1 RepliesI am wanting to create a simple program that monitors what programs are opening and if necessary close one or two. I would also like to know if it is possible to get the window title (using a simple function/sub) and check with a stored list of programs,
whether that particular program is allowed to be open and if so before the program can be opened a password dialog will appear asking the user to enter the defined password in order to continue opening the program. Is this possible? Also should the password entered not match up, the program/process will not be allowed to open and will be closed/cancelled.
some code or point to the part of the microsoft site that has information on getting window titles and how to close current programs open etc
i want to make a simple program where i can add/edit or delete a shortcut from an installed programs in my computer.
let say c:program filesmicrosoft officeoffice11winword.exe.
the purpose of this is i want some of my selected programs to be in a single window where i can click to open so i don't need to go to start then programs and open that specific program.
i want to run that program in startup so everytime i start my computer the shell or the program is already running and i could click the program that i want on that window.
how to write/program VB programs. However, I'm stuck on the mortgage calculator application. Whenever I run the program, I come up with an error stating "Argument 'NPer' is not a valid value." which refers to the Pmt function in the code.
'Dim monthly As Double ' monthly payment rates
Dim years As Double 'total # of years
Dim rate As Decimal 'annual rate
Dim months As Integer
[code]....
I'm developing the program which opens files/programs that I have selected and checked with checkbox1, 2 and 3(i haven't coded the tihrd one yet, but it doesn't affect). The first program runs instantly and others run after X interval if it's wrote in textbox4 and checked by checkbox4. So Checkbox is like an activator for this interval. If checkbox4 isn't checked then every program should run instantly. The problem is that checkbox4 isn't doing a job. Program activates the interval if there are somekind of numbers in textbox4. It doen't matter that is the checkbox4 checked or not.
Here is the
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[CODE]...
And here is the screen of the program:
I started with VB 6.0 back when i was 14, I was mostly into coding programs that interacted with other programs. Recently I installed VB.net 2005 pro i got from school, and i grabbed few source codes that teach show interaction, I feel so dumb, i dont remember anything lol. It be great if you guys can share some source codes and other stuff in this field. also other day i was in dream spark and i am able to get copy of VS.net 2010 ultimate edition, are there a lot of major changes, cause i got 2 thick book for VB.net 2005..
View 1 RepliesWhen you've finished a program and you're trying to distribute it to the mass public. How is the best way to go about doing this? What sites would you post your program on and getting the word out that there is a new program on the block and it does xyz. This is directed to freeware so there wouldn't be any advertising.
Sorry for not explaining it very well the first time.
I have a multi-project .NET 3.5 solution. It's ASP.NET based with c# code-behind in all projects except one.I'm attempting to access members from a C# project called "Core" from a VB.NET project. I set a dependency to the Core solution in my solution properties. However, Core. brings up nothing. Furthermore, my other C# projects that have Core-Project as a dependency (in the solution settings), are able to declare Core objects. Example: Private Core.ObjectName InstanceName; Also, Intellisense brings up plenty of info in the C# projects.how I can hook into these members from my VB project?
View 1 RepliesI have a program that used information form treenodes and put them in the textbox after timer ticks the problem is that i should use AddHandler for ticking, but i dont know how to refer to the title() and name() because they are not on the same sub private
[Code]....
I am amateur programmer.so far, I can use Visual Basic .Net only. That is all I know!!How can I refer to a MessageBox?or how can I Programatically handle a MessageBox after it is displayed?I need to close a MessageBox after certain time if no response from the user.
View 3 RepliesIs there a possible way to refer an object through it's name in Vb.Net?The case is, I have menu items created in my designer with names such as MenuA, MenuB and MenuC.On the database, I created a table consisting the list of all available menus in string format : MenuA, MenuB all the way to MenuZ.
Also I created a dynamic table consisting the user permission, what menu is accessible by a certain user.So when I started the app, it will get the name of menu assigned to the logged user, and start to turn the Visible property to TRUE.If it was a Control, I would just loop through it by Parent.Controls.Find(FoundMenu, True).My problem is most of it is not a control, it is an Item added to the Control, or even another SubItem added to the Item.So how can I found an object in my UI only by it's name?
SearchQuery = "SELECT menu_name FROM tbl_menulist menu, tbl_user user WHERE menu.id_menu = user.id_menu"
QueryReader = ExecuteQueryReader(SearchQuery)
QueryReader.Read()
[code]....
Can anyone tell me looking at this picture what Value is or what it could mean/reffer to? (S-1-5-xx-xxx)I had to block out some of it since I am not sure what it means.
View 2 RepliesI would like to develop a VB.Net based smart device app. A simple one. Do any of u know where i can refer to samples of such apps?
View 2 RepliesI am creating a project using VB, and I am new to VB, I am still a beginner, I need help in retrieving email address from database when I enter the username, I have added the code below, please review it and let me know, basically when I enter the username it has pull the email address and display in the label..[code]I am stuck at the sql statement as I have no idea how to refer the text box as the username i.e "& uname" it is the name of the text box, is it the right way, also then as I informed I need to paste the email address in the label and the name is label2, I am trying it as " label2.text=da" but I get a error message, I am using Visual basic professional 2010.
View 11 RepliesI have a bunch of string variables, string1, string2, string3 etc.At the end of my program I want to write these strings to a file, but I don't want to have to laboriously type out string1, string2, string3 etc.
It would be much easier to use a loop to dynamically refer to (string & loopcounter), ie reference the variable by dynamically concatenating its name from a string and a number. Python can do this with eval(). How does VB do it? I can think of loads of examples where it'd be useful. Otherwise I have to type out all the different conditions and that's not efficient.
am making a super advanced text processor and i am at the point where i am trying to make print preview dialog [code] Word_Env.Form1' cannot refer to itself through its default instance; use 'Me' instead.i have tried "Me" but that don't work.
View 2 Replies