VS 2010 Create An Exe "on The Spot"?
Oct 4, 2009
I'd like to know if it's possible to create an .exe file "on the spot."Meaning, somebody enters information...Say, a password field,and they enter, say, "1234".Then they click "Compile". It builds an exe file out of Visual Basic (It takes 2 files, the orm1.Designer.vb and Form1.vb that were just created with the string "Dim password as string = "1234" "), then it compiles it into an .exe.
View 6 Replies
ADVERTISEMENT
Mar 4, 2012
I had this code
[Code]....
That creates a text box in the top left corner. Is there a way to tell were it will be made?
View 2 Replies
May 26, 2011
I am trying to read a file and note the last position in the file. The next time I look at it, I want to pick up where I left off. What I'm finding is that sometimes when it comes back to the file it is 2 characters further in than it should be. The code I am using is:
Private Sub Read_Log(ByVal skip As Boolean, ByVal recursive As Boolean)
Dim logfilestream As FileStream
Dim logreader As StreamReader
[Code]....
I'm thinking about backing up to check previous characters - but I'd rather not hack over the problem if there is an actual fix to it.
View 6 Replies
Aug 27, 2011
I get an 'overflow exception was unhandled' error in the following code.
It is a function to combine 2 bytes into a 16 bit integer.
Private Function MakeInt16(HiVal As Byte, LoVal As Byte) As Short
Dim h As UInt32 = HiVal * CUInt(256) + LoVal
Return CShort(h)
End Function
View 4 Replies
Oct 20, 2011
I cant seem to spot my regex miss take(always been poor at RX). Is only passing the first expression. I assume it's because i am passing both expressions with "text". [code]
View 1 Replies
Nov 15, 2011
Could it so when the timer is ticking that it will move the mouse over to a certain color and click the spot once? For example if it finds on the screen a "green" spot or "hue:79 ; Sat:224" that it will click the spot once?
View 1 Replies
Sep 12, 2010
I'm writing some code in VB.Net which I hope demonstrate to colleagues (not to say familiarise myself a little more) with various design patterns - and I'm having an issue with the FactoryMethod Pattern.
[Code]...
View 3 Replies
Oct 17, 2010
Can any one spot the miss takePrivate firstRegex As String = [wd]+.json?mbed_type=website_unknown"
View 5 Replies
Jun 5, 2011
I'm trying to copy an array starting at a specific based on the number of variables I have. I have the program give me the number of variables. What I need is to copy the original array, UnsortedArray, start at the index of var + 1. I have tried the Array.Copy and Array.CopyTo, but I get the error that my new array, UnsortedNumArray, is used before it has a value.I know I've mostly overlooked something. Could you please point me in the right direction? [code]
View 5 Replies
Sep 21, 2010
TI have a picturebox on top of another picturebox, like a smaller square perfectly in the middle of a lil bigger square picturebox, if you click on the smaller one inside the slightly bigger one, it checks to see what the color is of the picturebox "under.It", or the Picturebox thats bigger than it, and is like sourounding the smaller one in the middle of it... If when you click the small one, and the BG Color of the one that's under it is Black, change it to white, "my forms bg color is also black"....so the highlighted pictureboxes will seem more like they get highlighted, ya know...
Here's the code, after you've looked at those pictures, you can probably imagine what I want this code to do, and it's really Guiness really, because when I program in VB.NET, and before I go to YouTube to teach others how to do different things with VB.NET,I like to make sure that my program is very simple, but very effective, and does the job.When I click two pictureboxes, and when my app knows that I have clicked 2 of em, which I had no problem being able to do, I want the FIRST PictureBox To Switch With The Second One That Gets Clicked, It's CHESS....It Seems So Damn SImple, BUT I'M STUCK AGAIN, AND I WANT TO MAKE A CHESS BOARD IN VB.NET.
View 6 Replies
Dec 7, 2010
I have kind of a wierd situation: To start out, I have a list of strings. Then the user will give input and add list items. I have this^ part done. What I need to do now is the following: There are two buttons; button1 and button2 There is also something else that I still need to decide on (maybe a dropdown menu) I want button1.click to show openfiledialogue1, the user will pick a text file from their computer (I also need to know how to make the only file they can select text files) and then save the file's text to a string. The text will be made up of multiple lines of an unknown number.
[Code]...
View 3 Replies
Jun 9, 2012
so i have came so far by now :
Public Class Form1
Private Sub WebBrowser1_DocumentCompleted(sender As Object, e As WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
[Code]....
anyways, i want to simulate a click in a specific spot of this browser ... lets say i want to click the upper part of the webpage . how will i do that ? i actually searched but i found only click given the coordinates of the desktop or things like this but nothing for giving coordinated to your program and that will click INSIDE your browser
View 3 Replies
Nov 22, 2010
there's a list-box with items, and say you want to modify an item in the middle of the list. You select that item and click "Modify" button and a new form appears with the previously selected item data from first form ready to be modified in a text-box. After modifying and clicking Ok the second form suppose to return that modified string to the first form and insert the modified string into the same spot instead of the originally selected item, so it looks like it was edited to the user.
View 2 Replies
Mar 14, 2012
I have this code attached to a button
If htmlText.Contains("<frame src='demo.html'/>") Then
htmlText = htmlText.Text.Replace("<frame src="demo.html/>", "<frame src='" &
OpenStory.FileName)
[code].....
View 2 Replies
Mar 18, 2011
I am trying to write this program that logs into this website. Now I figured out how to make the http "POST" request to the specific spot on the page which returns a "Successfully logged in" afterwards but once I make a request to another part of the page, it asks me to login (I look at the source code). I have been messing with Fiddler and I compared the a POST from my webbrowser to a POST from my program. I found the following lines to be in my browser POST and not in my program post:
[Code]...
I am assuming this has something to do with the cookie that I am suppose to get to be able to tell the website that I am logged in. If someone could point me in the right direction that would be great. I dont use XMLHTTPREQUEST in my program. I found it earlier on the msdn website but now I cant find a reference to it.I am also not good with term names and I just started learning VB and don't know much about cookies/HTTP requests and such, but that is why I am trying to learn.
View 2 Replies
Mar 3, 2012
I Want to develop a software like Yed.i just don know where to start.how we can create a workspace where i can drag and drop icons and create connection etc etc.
View 6 Replies
Nov 30, 2010
I have a project to do for one of my classes that i need help on. Its and extra credit so im left on my own. Project Create a program to allow a student to create there own schedule. what i am trying to do is create a checkedlistbox for the student to check classes they are taking, and need something else to pop up or to show in another box or listbox the classes they can take for the next quarter. I know it has to do with if then statements but i dont know how to write basically:"if (class is checked in checkedlistbox) then ( these are the classes you can take)".
View 2 Replies
Aug 19, 2011
If I create a DLL using VB 2010 express can it be used by previous versions of of .Net (3.5, 2.0)? Will the DLL use .Net 4.0 components, which is what I want. I don't see a way to force that to be the case.
View 1 Replies
Nov 6, 2011
Dont be afraid to spam the thread with things you can create.The more the better!
View 2 Replies
Apr 20, 2012
With a Windows form that I would like to be a DDE server. I know that DDE is not natively supported in VS 2010/11 so I'm using the NDde.dll to add DDE functionality to this program.
Objective: Create a windows form to act as a Pop-up notification that has a textbox field. This textbox field must be selectable in order for users to copy a text string to the clipboard and paste into another program that does not support DDE.
Overview: A phone system has an on-screen agent program that triggers a pop-up form, the DDE Server, when an incomming call is presented. When the agent accepts the call the agent program, acting as a DDE Client, registers a DDE session, Application=phnserver and Topic=callerid. Then communicates an "OnExecute" command to the DDE Server followed by a number string. This string should be presented on the pop-up form in a text box. Once the call is completed the agent application will issue a command to close the pop-up form.
Below is my current code.
CODE:
View 2 Replies
Nov 27, 2009
how to crearte an add-in for VS 2010?
View 2 Replies
Dec 3, 2011
I Want to create a DLL in vb.net but there are large parts that I want to write in F# but I don't want to create a F# dll and reference it from my vb.net project.I need only want one solution with everything inside. I heard somewhere that it is possible to do what I'm asking , but the code needs to be in different projects in the same solution. I went exploring around VS but I didn't find a method to create or add a new project.
View 4 Replies
Dec 14, 2010
I am trying to create an ActiveX.DLL file. I have created them before with VB 5.0. However, I can't find this option in Visual Basic 2010. Has it been renamed?
View 1 Replies
Sep 26, 2011
Is it possible to create a credential for RDP using VB 2010?For example, to do this using win7 GUI:
I go to credential manager and choose add a credential. I then enter TERMSRV/myserver and enter user name and password.
View 3 Replies
Nov 23, 2009
I'm running Windows 7 and am trying to Create a sub key in the registry.I used that code with no problems before but now it will not create this key [code].....
View 3 Replies
Dec 4, 2011
1. my program to be the default program for this extension2. when I open the file, I want it to make specific things in the program window3. the things that the file did, I want to be remembered next time I open the program.I want my program to have a better look, so I decided to make Theme Packs for it, and post them on program's website. That's why I want a code for all these things.
View 6 Replies
Jun 11, 2011
If I have two images, how can i attach the other image to the other creating one image? Basically copy one image, paste it to another and save that image.
View 1 Replies
Aug 10, 2011
I am wondering if anyone has a tutorial or source code to help me get started with creating a IRC Client that will connect to a IRC Server. I just want to make a pretty GUI to modernize it a bit and add some more features etc purely for educational reasons & because I need a new project.
If anyone has a tutorial or source code that would be great. This is a couple of steps up from my last project so I will need a guide to get me started etc. I have been searching on various sites etc but have found nothing so far.
View 4 Replies
Oct 24, 2011
i want to work with FTP is any example or source code or ebook? i want to create ftp explorer
View 2 Replies
Oct 15, 2011
How to create a shortcut of application (C:MyApp.exe) to desktop with icon?
EDIT: I've find the solution..
[Code]...
View 2 Replies