I want to write a VBA program, where i want to convert the currency notes into coins. I made a userform with one label, one textbox and one command button. Simply i want to write the codes under command button and want to run the program. After running the program i want to write the one number for example 55 dollor and wanted to convert into different coins.
Currently our shop is using VB 6.0 with Outlook to send emails from VB programs, using Outlook 11.0 object library. We are needing to migrate to Visual Studio .Net and then to use Lotus Notes to send all emails from the VB programs.Can someone direct me to either documentation or code sinpits that will help me.[code]
this is more of a confirmation than a question. Need to make sure an already supplied float is treated as a currency value, ie: 123.3 is displayed as 123.30 In VBA you would have just used the CCur() function (yes I am new to VB.net) but I cannot find an equivalent function in VB.net, only the use of the Decimal.ToString() method to do this and for this to work you need to cast the decimal value to 2 floating points using the Decimal.Round method first, ie:
Dim listPrice As Decimal = prow("listprice") listPrice = Decimal.Round(listPrice, 2).ToString("f2")
Just need to know this would be the normal practise in VB.net for achieving my goal.
I've been trying make a mdi notepad that can start up new instances of a "note" which is unique from the other notes as in you can save/change/cut/ copy/ paste in the individual notes without changing the properties of the other notes..something like a tabbed notepad but instead of tab control i have a mdi container. but i can't make it work. [code] problem with it is that whatever you cut/copy/paste in one mdi container richtextbox, it automatically cuts/copies/pastes in the other richtextbox controls in the other containers..
Is there something like a doc.GETITEMVALUE("Attachment")(0) ?Also, I can't find any documentation for the domino API. Does anyone have a good resource for this?
As part of my current project for making student's lives easier by making an All-In-One application with many common programs carbon-copied inside it, I have a slight problem with sticky notes.
I am trying to recreate Sticky Notes as much as possible from the Windows 7 Sticky Notes Application. My problem is, I put a richtextbox on the sticky notes panel and wanted to either add a background image, or a transparent backcolor (my Panel that the textbox is in has the background image of the themed sticky notes). So my question is, is it possible to somehow dynamically make a property to allow the backcolor of a richtextbox to be transparent? or allow a background image?If you find an answer helpful, click the Helpful button. If you find an answer to your question, mark it as the answer. [URL]..
I am trying to create a currency converter that will convert currency. I have a text box to enter the amount and 2 combo boxes to choose which currency you are converting from and to.
I am using a webservice site XML that contains the conversions.
The problem is I cannot get the display to work properly.
Where can i find the following notes on the internet (MIDDLE) C,D,E,F,G,A,B,C,D C #, A G #, A B#, G F# ????? ITS FOR A PIANO im making for school, ON SCREEN :) ADDITIONAL NOTES:DOWNLOADALE I like..... Understandable Answers 1 2 3 4 5 - - - - Rate yourself And Have A Kitkat 5 5 5 5 5?
add notes in the powerpoint slides notes part under the powerpoint slide.using Microsoft.Office.Interop.PowerPoint. I'm using vb.net code.Now it si creating the ppt file and I can add text,comments,image. in the slide . But I need to add notes in the powerpoint slide , in the bottom part of the slide.
Here is the code i'm using for creating slides.
Dim oApp As Microsoft.Office.Interop.PowerPoint.Application Dim oPres As Microsoft.Office.Interop.PowerPoint.Presentation Dim oSlide As Microsoft.Office.Interop.PowerPoint.Slide Dim bAssistantOn As Boolean
I have my application sending out emails when the user triggers certain events. The problem is that the email logs into the local Lotus database stored on the person's computer so the emails appear to be coming from different individuals.
Is there a way to alter the from field? I'd like to have everything coming from MyProgram for example, even if that user doesn't exist in the Lotus directory.[code]...
i need to add explanation to my file i have a little filesystem in my program (so i dont want to use database for files)how can i add and call explanation to myfile i have some ideas but thats last resort couse its not not efficient and hard to make :)i thought i should create new table for my filesystem notes.so is there any easy way to do this :) i mean when we use explorer we can right click and use some field for our explanations.Is it possible to be able to use this fields.
I am trying to retrieve an attachment from a lotus notes email using the EmbeddedObjects array off of a NotesDocument object. In my test, I've set up an email with an attachment and am trying to process it. The HasEmbedded property of the NotesDocument object is returning true however the EmbeddedObjects array of the NotesDocument object is always nothing (null). Why is the EmbeddedObjects array always nothing?
I got a data grid which I use to enter notes and save on the database, the tasks I could not complete is to pass a value onto one of the cells. I want to pass a noteID, user's name and a date of now into the cells so the user would only need to enter the note. So can somebody drop me a line of code on how to pass a value onto a cell in the datagridview. I been trying something like this it does not do anything:
DataGridNotes.Rows(0).Cells.Item("ColumnID").Value Me.DataGridNotes.Rows(0).Cells(0).Value = "new value"
I got a question on sql splitting a record into peaces.I got a big record like this and all of this in one piece of record:
" 5/21/2009 1:03:49 PM Order has been placed 5/25/2009 1:45:49 PM
[code]....
This is used for making notes, so you can keep adding notes on it until it's done.And I know this is not the 'best' way of keeping these records, this is the way how it was kept until now.So now my manager comes to me and asks to make a different structure of processing these notes.Because it is stored this way I can only retrieve full record from the database, but what I need is a way how to take for example only the 'top line' of it.Example:5/25/2009 8:45:49 PM Confirmation send
I was looking at the Facebook Developers page trying to find out how to post notes from my VB desktop app. However, I could only seem to find info on how to have users log into websites using Facebook and info on building Facebook friendly iPhone apps. Does anyone have any idea how to do this from a desktop app?
Problem: I need a way to have individual notes for all the items in a listview. Tools: 1 Listview, 1 button and 1 Textbox.I would like to click an item and have notes for that item pulled from the settings.When the button is pressed I want the notes for the item to be saved in the settings.
I am building an application that contains data that needs to be fed out to seperate groups of people.Sending them emails is the only way to do it but this takes ages to do.i need for example to send:
send to = textbox1.text subject = textbox2.text body = textbox3.text
I have been using VB to manipulate notes in PowerPoint presentations.Until today, everything had been working fine (in PowerPoint 2007) using:[code]But today I tried the code on a PowerPoint 2003 presentation and it threw an error saying that the object didn't exist.I tried looking in shape 1 and 0, but I don't find the notes.I then tried updating the presentation to the 2007 format, but the notes are still not accessible using VB, although they appear in the PowerPoint window fine.
I'm trying to make a program with a dashboard that has sticky notes on it. By sticky notes, I'm just talking about 5 text box's that save the text to file.txt. Nothing fancy. Anyways here is the code I have:
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click MsgBox("Are you sure you want to save?", MsgBoxStyle.YesNo) If MsgBoxResult.Yes Then Dim txtwriter As TextWriter txtwriter = New StreamWriter("file.txt") txtwriter.WriteLine(TextBox1.Text)
I develop Mac apps.Now, I'm using Visual Studio 2010 (VB) to develop Windows applications. And I wonder if there are different styles of windows (forms)like Floating, Modal,Modeless. This Microsoft web page mentions Tool Window.I'm not sure I have this option.Or is it possible to have a custom window style like the one with Sticky Notes?
I am looking on how to split data I take from a database. Because I got a database that stores Date/Time and Notes all in one record, is there any way I could Split it into date and notes when it reaches my application.
I want to write a program that can recognize music notes.I think i should write something that could understand notes! we give the notes to the program and then we start to play that song,if we made a mistake,the program warns us. I want to know witch programming language is good for this kind of programs and what should i study for starting?! I asked from my university professor and he told me maybe it is not really needs an Artificial intelligence like programs that convert speech to text, noise frequency is helps you to recognize notes easily!
a user will enter a number, n, which ranges from 1 to 30. they will also enter a "P" or an "S" (sum or product). depending on which was selected, it will calculate the sum or product of the numbers from 1 to n.i'm having a conversion error on line 5 stating "Conversion from string "S" to type 'Double' is not valid." [code]
I'm creating a program in VB.net that does the following:At a high level I receive a file in email, put the attachment in a monitored folder, import the text file to excel, format the excel, and then email the excel file to a list of recipients.
Here is my plan:
Completed: Outlook VBA to monitor all incoming email for specific message. Once message is received drop attached .txt file in a specific network folder.
Completed: (VB.net) Monitor folder, when text file is added begin processing
Not Complete: (VB.net) Import text file to Excel
Not Complete: (VB.net) Format Excel Text file.(add in a row of data,format column headers with color/size, add some blank columns, add data validation to some of the blank columns that allow drop down selections)
Completed: (VB.net) Save file.
Completed: (VB.net) Send file to list of recipients.
Obviously the items above that are not complete are the bulk of the work, but I wanted to get some advice on what some of you think would be the best way to approach something like this. The import and formatting of the file are causing me some problems because I just can't decide what would be the most efficient way to do this.
The way stated above. Import to excel -> format Having a template excel that contains all of the formatting already done for me and attempting to transition the data to this document (no clue if/how I can do this). Is it even feasible? Have the template already created and then import the text file to a new excel file, then transition that data to the excel template?
Something I thought about, in terms of formatting the document, was to record a macro of me doing all of the formatting that I'm going to need and then attempt to convert that macro into my vb.net code, but I'm not sure if that will work. I will need to verify that the text file comes in the EXACT format every time correct?
I am doing a data migration from Lotus notes to another type of software that does not support Rich Text Fields.I am trying to write a VB 2005 program that will take any rich text fields that are found and place them into an RTF file - which will be uploaded as an attachment in the new software.I cannot get the program to take the rich text formating or objects to the RTF file, only the plain text.I have tried everything under the sun using the COM library to get these objects out to no avail.
I am doing a data migration from Lotus notes to another type of software that does not support Rich Text Fields. I am trying to write a VB 2005 program that will take any rich text fields that are found and place them into an RTF file - which will be uploaded as an attachment in the new software