i have an application. this application is using findwindowa api for check if there is instance of its own. (sorry for english) so we cannot open this app two times. as you may guess i wanna open thousands instance of its. (or 2-3). i tried disassambler but code is encrytped or something like that. so what can i do? maybe i can:
* run app from diffrent application. if its possible findwindowa can fail.
* change class or window name (i think its not possible)
I am working on an application which can apply tweaks to Windows XP. I populated a TreeView with some nodes, but how can I display the diffrent properties? I mean, some need some checkboxes or radiobuttons or a listview. I want something like a TabControl, but whitout buttons on the top. Does something like that exists?
I'm done with a solution and I don't want to work with it anymore, except for small bug fixes that may come up. I have a new project assigned to me which to take the project I just finished, and add some new features to it. But I wouuld be changing alot of stuff in this program. So I want to copy my solution, save it as a diffrent name, so I can work off the old solution and start modifying it, but I will always have the original one to fix any bugs or go back to.
I am working on a video chat program and I have almost everything working on my network I now need to figure out how to establish comunication between two clients from diffrent networks without having a middle person to switch each meassage to each other.
To clarify: I belive that I need to have a server running that each client when they start up the program will login to the server handing thier external ipaddress and port forward to get to each respective client, this will be stored in a SQL database (I know how to add the data just not hwo to get it from the source)
Then the server would brodcast the clients name to anyone that is authorized to know (currently everyone) and has there data stored on the server.Finnaly when the client shouts down it sends out the logging-off comand and deletes the adressing information from the server.The client programs will be windows form applications that use the tcpclient connection to send text meassage And the server application will be I hope a webapp.
I am copying data from DataTable to another DataTable with a structure.I have to hardcode coulums number in the loop and copy the data in object array.[code]...
I wanted to visualize to the user the diffrence if they opted for certain values. In mycase certain choises would show phonenumbers on intranet.To show how I wil leave the control names default. To recreate the the project. Start a windows form application, place a datagridview, and 2 bindingsources on the form To start we need some data to show and a list to choose from.To make a simple example I chosen to make a person class containing an Id, Name and Position.Id If the Position is a staff position it should be blue others should remain the default style.But lets start with the colorScheme Interface so we can store the colorscheme we want to show for a certain positionitem in the datagrdview It wil need back and forecolors but also colors for teh item whilst selected. To show the Displaymember we want to see I've also added the toString property that should shadow the toString of the object.[code]
I want to make a richtextbox what can show you diffrent colors.I've already managed how to give 1 line a special color, but I want to know how to give everyword in a sentence a diffrent color.
as example in a line on my textbox: Hello World, I want to show this diffrent colors in my richtextbox - who knows how to make it? This is the code I have to color just once line of the textbox.
I have a problem i need to join two table from different sql servers and as a test i have tried to get data from two table but i realizethe adapter can have only one connection statement as argument how do i get records from two table from diffrent database
Please see my code Dim adapter As SqlDataAdapter Dim ds As New DataSet
I have been making a webbrowser in VB.net with a simple layout and simple things in it like a history, go buttons, back button, refresh, a menu etc(atm im trying to make a favourite, and a open file and stuff) but all of this are just things i see back in IE , as the engine or is based on it what my question was is it possible to make a webbrowser(not too hard ) with a diffrent engine.are there any lightweight engines? and how do i implent it with VB.net. how does this all in theory go, .i want to know how these engines work, and what functions i would need to use to make a webbrowser on that specific engine.
I am new to programming just started school for it and i started playing in VB Which is what my class is i have Visual Studio 2008. okay here is what i need help on. I am making a simple windows forms program it has 3 forms and on form 2 i have 6 text boxes and on form 3 i have 6 labels. I am trying to get the user entered data in the 6 text boxes to transfer to the 6 labels on form 3.
I need to encrypt a string (CPU ID). the result will be displayed in the textbox. But I want to display differents results for the same word. I tried some codes but it displays the same result for the same word.
So I am working on a small program that will tell the engineers the status of their testers; whether they are up or down with the time and date in addition there is also a comment box. I have created a program that has all the right buttons and options. Where I am stuck is on the save option. I want the engineers to be able to make changes to the status/date/comments and by clicking the save button to save all changes(in the status and date boxes) and text(in the comment box) so that when the program is opened at a later time or by another user on the network from a diffrent work station the latest changes from whomever will be present. The code that follows only allows the changes to be seen by on that specific computer and they are not shared to everyone who uses the program that accesses it over the network. Any help would be awsome!! Hope this is clear!
How can I get it so everyone sees all changes over the network regardless of the computer they are using? any help would be amazing!!
I 'm trying to achieve is have 1 button that toggles between 2 batch files start/stop - when pressed the button calls for a batch file to start process - then if pressed again it calls for another batch file to stop the process. But it would be hand to have indicator or text on button stating the status.
I am working on a signout system I have a good start but am trying to solve a small problem.Signing out equipment I fill part of a form with student data from the dataset with Fillby, fill the other half with equipment data using Fillby1 I then save this combined data to my Access 2007 Database using a OleDb.OleDbConnection.
Before I start, I'm not 100% sure this is the right place to ask. Okey, so I'm making my own Notepad, which will contain newer features. (Private use only though) One of them being tab control.
Now I want the program to be in the "Open With..." menus for all files, so I can choose myself.
And if the program is already running when user opens a new file, I want the text to appear in a new tab, instead of a new window of the program.
I tryed to be straight forward, and keep it short. So if you need more info, fell free to ask.
I have made a Database.mdf that contains a table that Includes 3 diffrent Column Names.
1:"ID" This one i set to an primary key and i have also made it automaticlly put a number in order to the list. Like 1,2,3,4,5 for each data added. Data Type for this is int.
2:"WordCombination" Were i enter my word combination that i want it to look for)
3."TypeofCombination" Were i enter what the program should add to what i typed in texbox1 if it contains the WordCombination.
I want my program to se if texbox1 contains any of those WordCombinations in my database. And if thats true, Then i want it to show whats in the TypeofCombination + the text in texbox1 in texbox2. If i enter "What do you want ?" in Textbox1 i want the program to find that "What do you want ?" contains "you want" like in ID:1 WordCombination:you want. So becuse this is ture it should enter TypeofCombination in this case "Question:" + what i entered in Textbox1 to show in Textbox2.So if i write "What do you want ?" and click start. Textbox2 should show "Question: What do you want ?" If i Write "My name is Jake" and click start. Textbox2 should show "Answer: My name is Jake".If I Write "hello you Hi there Jacob" and click start. Textbox2 should show "Greeting: hello you Hi there Jacob".And i Should be able to add and delete Word Combinations Without having to change the program.
I have a series of text files in multipule diffrent sub directories. I found the following functions on the Internet:
CODE:
The functions will make a direcotry tree in my debug window, that looks something like this:
CODE:
What I want it to do is to have it return an array of relitive file paths, from the starting direcotry I give the function. Then I will use a loop to cycle though each file in the array to make certain changes.
I want to start osmon.exe with diffrent parameters, eg. Default, Osmon2, Osmon3, Osmon4 and Osmon5.After Default has started it must wait 10 seconds, after osmon5 has started it must wait 15 seonds.Then is must write the PID# to txt file.I have the code, but when I run it, it only shows the console for 1 second, and then nothing is happening after that.
I am in the process of developing a messaging framework for a windows application that sends messages to a java application. To be precise when the win app wants to send a message it simply drops the message in a common database table which will be picked up by the java app. The windows application is deployed across 10 application servers (10 instances) over citrix for load balancing.Each instance of the application is capable of sending a message to the java application and each of these messages should have a unique id. From my end I need to make sure every message generated has to carry a unique id so that they can be identified when necessary. All the messages can be cleared every day or two.i am not quite sure about a best method of achieving this. Initially I wanted to create a static method that serves the next available id (incrementing the last id by 1). But this approach willn't guarantee unique number as the application starts only when at least one user is logged on. For e.g .On one server the app starts when a user logs in, he then sends a message and then the application stops when that user logs off. So when a next request for the app comes to that server a new instance will be started.
When I install .net Frame work 2.0 I had this Error when the setup writing system register values RegSvcs.exe-Application Error The application failed to initialize properly (0xc000007b) click OK to terminate the application and i have running an blank application (blank forum) and i running it in the VS 2005 IDE iget this error: windowsapplicatin1.exe-Application Error The application failed to initialize properly (0xc000007b) click OK to terminate the application and i have a program in setup package that i made from 1 week . i have install this program and when i want to run it i had this problem
When i click on my installed VB.net application icon on the desktop,i receive the message : 'Application failed ti initialize property ox700000000000000 ..... click ok to terminate application'.
is it possible to make one application send a task to another application and recieve the result from that secondary app?i made a text editor program and i added a scan feature and i made another app that has ocr capabilities.The scanner ability is in my text editor program, the ocr program doesnt scan you have to input an image into it and it will give text result a few seconds later.the prob is alot of times the ocr code uses sooo much memory and crashes when its incorporated with my text editor, but individually each application works fine and doesnt take too much memory. Memory wont be even an issue if the ocr program is standalone so that when it is done decoding image the application can be made to exit. now here is the question, how do i make my text editor send the image to the ocr program and how do i make my ocr program send the text back to my text editor? is it possible? i mean the only way i know off is creating temp files in a certain folder and having a timer on each program that keeps waiting for temp files. That just seems like pretty lame coding to me i was wondering if there's a better way?
Which is the best way to store application and user settings of an application running with multiple instances?My problem is that using the vb's "Application Settings" one instance would overwrite the other one.I want to identify each instance with a number passed via command line argument. I could use this number to identify the appropriate settings of the running instance, but I see in a local INI o XML file a better way to handle that.
I currently have a simple crystal reports application which generates a crystal report and in the built in viewer provided by VS2005. There is a drop down where you can select options to change the criteria of the report. I wish to convert this app to a windows executable which will take all those select options and generates pdfs based on the crystal report. the executable will be triggered by windows task scheduler...or maybe command line app?
Obviously this will be somewhat of a re-write. What would be the best way to start this as? a crystal report application or a windows application.
I have a windows forms application written in VB.NET which scrapes information from serveral web pages (who doesn't right)? Anyway, I am having problem with one particular site where partway through the page navigation my application hangs. When I press pause (or break) in the debugger, it stops on a call to System.Windows.Forms.Application.DoEvents.
Resuming execution shows that it really is stuck on this line (it does not reach the next line of code). It also hangs about the same point each time I run it (at least its consistent). Since System.Windows.Forms.Application.DoEvents yields to other threads on the same processor and then resumes execution of the current thread, I think the problem is that some other thread is not behaving well (not returning from some event handling code). I thought Windows 7 was pre-emptive, which makes me doubt that theory but I really don't know.
[Code]...
The program scrapes somewhere between 12 and 14 pages before it gets stuck on the call to DoEvents. Does anyone have a clue why this would happen? Why would any call to DoEvents hang?
i made an application for serial communication. for this application i need to set delay time. during this delay time i m doing some other task. So for those task i need to take back control from delay function, for this purpose i am unsing Doevents() function.Its work fine On other OS (XP, Windows7 32/64-bit). But Application.DoEvents() function halt and crash in windows vista.
Private Sub TimeDelay(ByVal DT As Integer) Dim StartTick As Integer StartTick = Environment.TickCount()