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.
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.
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]
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?
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.
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]
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.
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.
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
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.
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.
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.
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)".
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.
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.
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.
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?
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].....
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.
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.
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.