I wanted to develop a tool in which i want to use words Macro Like feature.In an Application there will be front-end (i.e. form) which will accepts basic information like name,age,gender,Marital Status,Address,Locality,Contact number etc... In a backend i will be having few fix text fromate in the database as a string or BLOB.( instead of databaes, i can even keep words text template)
Now what i want to do is:when user submites the form data, my app should use this submitted data and replace all the marked location in text formate with the data provided by form. and once the complete text string is generated , i want to generate word file ( and/or Pdf) file from this.How can i acheive this with any one of this language .NET( web or Desktop ) , QML ,QT,Java ?( Text Fromates : because most of the containts of the text will be the same, only few words (fileds) will be diffrent for each copy generated)
There is a feature I used to have in zOS assembler environment that I'd like to know if it's available in VS2010 (VB .net). In assembler it is called macro language :
First, I define a set of instructions and save it as a macro (ex: MYMACRO)
Second, anywhere in my source code I can call the macro (by adding the line "MYMACRO")
Third, when i launch the compilation/link step, the compiler implicitly replaces all the "MYMACRO" lines in the source code by the content of MYMACRO defined in first step.
Is there a feature like this in VS2010 ?
Example:
Content of macro CONTEXTSTART with a parameter &id
I would like to build an application in vb.net which is some what similar to old net meeting and one of main feature I would like to implement is application sharing. I tried the netmeeting sdk provided by microsoft but it is very complicated (I'm new to vb.net and samples are in c++). developing this application or whether there is any third party sdks available for the same.
at work here we use a Remote Machine Viewer called FitNet which is proprietary to NCR and WalMart. However, I had no hand in developing this application and the developers no longer are emplyed here or did they assign anyone to take it over. I was asked to take a look at it and see if I could come up with something. The application is a .NET app but when I use .NET Reflector to get an idea aboutthe code it says no CLI header found.
I'm trying to make an application which has a feature of an event calendar. I am quite familiar with the MonthCalendar tool in the toolbox, but that's not really what I'm looking for. I would like to make a calendar that somewhat resembles 'iCal' in Mac OS X. If any of you use Microsoft Groove Workspaces, the calendar in that is very close to what I'm thinking of. I want the user to be able to double click the day and add new events which will show the title of the events in that day on the calendar when the events are saved. Also i would like to have the user be able to make recurring events. Is this even possible with Visual Basic '08?
I use ClickOnce Deployment on my application to get the update feature.But i really do not like the deployment and the setup Is their a way I can use the Visual Studio setup feature to make a msi package for my application but still have the update feature?
I have a question about application settings.Is it possible to update application settings or are they read-only?
If I program an auto-login feature, am I able to store the login details and use it next time user logs in. Would them settings remain after application is closed and opened again?
I'm have a program (GUI) that interfaces with excel to execute macros. We're using Microsoft.Office.Interop.Excel to call/run the macros and this works great.What I can't figure out is a good way to cancel the macros from the GUI.One idea we had was to use the excel.application variable that runs the macros to write a "stop" value to a specific cell in the workbook, and in the macros (they are all mostly loops), check for the "stop" value in that cell. This crashes my GUI with this The program '[2188] BVLReports.vshost.exe: Managed' has exited with code -336589910 (0xebf00baa).And excel gets tied up, and won't respond. I know how to Exit Sub from within the macro if the "stop" value exists, so I don't need answers on how to check/cancel from inside the macro. Any ideas on a better way to write this "stop" value or a better way to cancel the macros externally?
Just finished a database for stock management system in local terms and language. All according to their request and agreement. Now they need me to add undo/redo functionality to the application and I just dont know where to start. I am looking first for a general tip on where to begin:
I have one form, for e.g., that manages their stores. Then another for catagories...now they need the undo for all this things and am not sure if it is even possible cos datas are related.
I'm looking to call an excel macro (excel version 07) within a separate visual studio application (visual studio express 2010). Basically, a user clicks a browse dialog button to select a xls or xlsm file which is then added to a listbox. Next, I would like the macro to run when another button is clicked. The macro looks at the first column in excel and moves the listed .tif images from one folder to another. I referenced the excel libraries, but seem to be getting hung up on a few code statements (''''ERROR see code below). I would like to run the macro within visual studio for any selected excel file or add the macro somehow to the selected excel file and run it.
'Here is the button click procedure
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click filenames = lstFiles.SelectedItem
I am trying to create a macro to enter data in a label printing application for hundreds of labels- I use an external third party software that's not very user friendly. It has several fields that accept text. The problem is, manually entering the data and clicking "print" each time is very time consuming. Can anyone suggest a way to put a line of text in the field, printing, and repeating the process?
I'm trying to send some words to an application I'm running (no webpage). To do this I run my vb program and minimize it, so that the application I want to send the words to have focus.Now I've tried sendkeys, but it seems sendkeys only sends my first word and does nothing with the other words. The code below is called 4 times by the main form [code]but this throws in a overflowexception was unhandled error at the apiSendMessage(hWnd, WM_SETTEXT, 0, "Hello") line.I've tried several things but I can't figure it out how to send multiple words to the application without problems.
I've got 2 RTB one is for input of text and one is output.The output one needs to read the words from the input and display it alphabetically and with their line numbers.I have partly done it and it currently reads it but here is my problem When the words are outputted let say for example there are 2 words the same on the same line e.g the word 'you' appears twice on line one,at the moment its coming up like this
I have a question. I am creating a VB .NET application that opens Visio to do some stuff there. Visio runs a splash screen on startup and the only way to stop the splash screen from loading is to use code like:
other than GML (Yoyogames.com Game Maker Language), I am new to the coding world. The only "major" project I have completed using VB is a computer calculator that exactly mimics the capabilities of Windows 7's calculator. Yesterday, I began a Chatbot program for my girlfriend. Lol. I have used the instr() function to answer most of the questions or answers which are typed into the textbox1. I find this extremely troublesome because when using the instr() function you cannot say instr(textbox1.
Public Class Form1 Dim fos As String = "Foster: " Dim ash As String = "Ashley: "
I made a simple vb program with vb 2011 express. I want with a simple button click to open a prototype Powerpoint presentation and running in background a batch file.So far,so good... I want to do a third step. Into the "test.ppt" i have already made a macro with vba and i want to execute the macro.
I am trying to make a search feature in my program. My program has a .csv file that the program will need to search for a equal value that was entered in thr text box. I am just not to sure how to go about this. Just need some insight on how to grt started. Insight please.
I wrote a UDF to enable users to run Macro`s in excel here is the function below
Private Sub RunExcelMacros(ByVal Path As String, ByVal MacroName As String) Dim oExcel As Excel.Application Dim oBook As Excel.Workbook Dim oBooks As Excel.Workbooks
[code].....
And to use it just call the udf with the 2 parameters like below
Using word 2003, merging to a new document. I want the macros in the template to be in the new document. I'm using the macros to control printer desitination, each template can go to a different printer.
i seem to have a problem with my program, here is my situation:I have a UsageID where it gets generated from a database when the user clicks a button (btnAdd). However the rest of the form has textboxes and comboboxes then finally a calculate button (btnCalculate). I want the user to only be able to click the btnCalculate when their is a UsageID present. Here is the code i have currently in the btnCalculate_Click procedure:
No errors come up it just doesn't seem to work, has anyone got any ideas because i'm stuck. Helpful posts will be rated.
I got a hard one for you devolpers.In a popular C++ program BitComet they have a Check For Update feature.How would I have a simple Check For Update and have it warn the user every 1 week or so.
I just read a book : Pro ADO.NET 2.0.It discuss about the disconnected and connected feature of the ADO.NET.In disconnected, the "data container" is DataSet.But it doesn't say anything about the data container if i use the connected feature. In ADO, we have recordset, what about ADO.NET.
Im making an application which is basically a lojack project. Im wanting to get some ideas for maybe other features or the best way to go about this for maximum tracking ability.Right now I have it working the way I think it should work and what it does is get your external IP, it then returns the City, State, Zip, Latitude and Longitude and sends all that info to you in an email. I have it check against a Database that houses computer registration, computer name, and then the status of the laptop which the customer calls in, if its stolen. Right now this is just a piece of software and Im currently working on something low level to do something before Windows loads up. Right now thats not something Im focused on hardcore, but Im working on it and itll get done.
I need to wait for and event within a given period (30s) and then timeout if this time elapse. I am sending a command to a server from a dll, and I need to wait for response before sending another. I want to implement a timeout feature, that why I need to use a timer. I want to use a timer, but don't know how to use it in a DLL.
how to use the find and replace feature? Sort of like what notepad uses. But, it replaced certain characters with a set character, not a changable one.[code...]