Interpolation And Chi Square Distribution
Feb 22, 2010[Code]...
I have attached the full code here [attachment=16637:Form1.txt]
[Code]...
I have attached the full code here [attachment=16637:Form1.txt]
Can I do something like "%s said %s blah.", $name, $blah; in VB.NET it's getting painful writing name & "said" & blah & "blah"
View 1 RepliesWhen working with small images, the graphics interpolation does bad work.the result image in the following code does ignore second half of image to draw.Draw something on the image by using loadimage from JPG or whatever you want.
Dim GrayImage as system.drawing.Bitmap(640,480)
Dim bmTmp As New System.Drawing.Bitmap(GrayImage.Width, 1)
Using gr As System.Drawing.Graphics = System.Drawing.Graphics.FromImage(bmTmp)[code]....
The second half vertical is not drawn by using the DrawImage methode. I want to have the image as result as you see on first picture. Stretched image with source on whole content.
I need to interpolate a string containing a file name into this statement...
fileReader = My.Computer.FileSystem.ReadAllText("C:myfile.txt")
I need to write code to interpolate the values shown in the image below. By "interpolate" I mean that if you were given a value of [Code]. I have working in Excel but I can't figure out how to make it work in VB 2010. Should I set my data up as an array or as 6 lists? If the user inputs a certain number how do I code it to look for the next highest number and next lowest number?
View 10 RepliesI've developed a small cost-tracking app with VB 2008. I was wondering what are the dependencies this app requires to install and run on other computers? I am not using any 3rd party or out-of-ordinary controls/DLLs.
View 5 Replieshow to retrieve/export distribution lists from an Exchange server? I've tried a few articles but the one that looked the closest said a needed to add a reference to Outlook 14 and the highest i have is 12.0
I look after a system that allows the creation of distribution lists but no way to sync them up with Outlook(and as you can imagine trying to maintain that manually is just a ballache)
My application has Binding source to an acess db, how can i distrivbute the application and db as one exe file?
View 3 Repliesi wanted to write a quick program to get the file organization of my MP3 files back into sync with the info in my ID3 tags... I had tried to get the Windows Media Format SDK, but when i go to install it says it can only run on WinXP. Problem is it seems the official site is gone, and the other links i've found to a hosting on Novell's servers is also down. Anyone know where i can still get a distro of TagLib# for C#/VB.NET for Windows? Or another good ID3 tag reader?
View 2 RepliesUnable to find a normal distribution function for VB8 Found the others I needed Math.Log, Math.Sqrt, Math.Exp but no Math.ND To give an example of the problem that the code needs to do.
P = S*NORMSDIST(D1)-K*e(-Rf*T)*NORMSDIST(D2)
My project which includes an access database is published for distribution on a CD. The database properties are set Build Action - Content, Copy to Output Directory - Copy if Newer. I need to be able update the published project. I have used ClickOnce Publishing Process.
View 1 RepliesI want to distribute the installer package to my clients. how can I make setup.exe file for my visual studio 2008 projects.
View 4 RepliesWe are using Exchange 2003 as part of sbs 2003 premium.
We have a distribution group abc which receives emails abc@mydomian.com. How can I access emails coming to this distribution group and extract any PDF attachments that may be present using vb.net code?
I tried to put just the name of the in the .To but that didn't work. Could someone please point me in the direction or show me how to do it?EDIT: My Code is Below...
Dim Subject as String = "Services for " & date.today.string
Dim Body as String = strHTML (defined elsewhere on form)
Dim oApp as Outlook._Application
[code]....
I didn't copy or paste as the code is on a second computer and that one isn't network connected. I typed it in, so there may be a typo or two. When this code is executed, nothing is sent.
i have created a VB.net application which can be used as a BO scheduler substitute for sending refreshed report copies. These copies are AES 256 encrypted and password protected.
View 2 RepliesIm trying to use the library in GNU in VB2008 to generate random number with uniform distribution (actually will also use it for other distributions)...I already added dll under bin file and try to run the following code, but just cant make it work:
Public Class Form1
Declare Function gsl_rng_uniform Lib "C:vbuniformuniforminDebuglibgsl.dll" (ByVal x As Double, ByVal y As Double) As Double
[code].....
I have a database with testmarks of - lets say 30 students. I would like to print a distribution chart using Mschart. The values will be loaded into an array ChartData(30) The distribution chart X-axsis should range from 0 - 100 and the Y-axsis 0 to the average amount.... hopes it makes sence....
[Code]...
When I click on my hard-coded richtextbox, I need my cursor to be like a square so that it replaces the text with the user defined text. How would I go about doing this? Here's the dode:
<
Dim strTab
As
String = _[code]....
\
Now when a user selects a "-" I need the cursor to be a square so it can replace the "-" with the user input...lets say a "5".
I want to know how I can take a Square of an integer example: 25 = 5
Is there an include or something for it to use it in my script.
I am working in vb.net, visual studio 2010.
So i want to apply gradient to a square, a center to edges gradient. This is the code:
Public Class Form1
Private Sub PicSourcefrm(ByVal sender As System.Object, ByVal e As PaintEventArgs) Handles Me.Paint
Dim Graph As Graphics
[Code].....
NOTE: Picsource is just a PictureBox named that way. If I put "BrushSquare.SurroundColors = Color.Red" in a comment. The program works but the edges are white, not red like I want them to be.
Is it possible to create a square using graphics that will not show in VB.NET? I want to use it for the IntersectsWith function to detect moving rectangles that are around objects.
View 1 RepliesWrite an application that prompts the user to enter the size of the side of a square, then display a hollow square of that size made of asterisks. I have seen javascript using this but nothing with Visual Basic.
View 1 RepliesWell, the code I have only gives the the number IF its like 2 x 2 or 4 x 4 is in the text box (4 or 16), but if its a number that can not be multiplied together to get the value in the textbox, it has an arithmetic overflow, what can I do to make it work for all numbers?
Dim Value As Integer
Dim ValueToMultiply As Integer
ValueToMultiply = 1
[Code]....
I am sending SNMP Systemdescription query to local host and in response i m getting little square characters instead of the specific system description..It seems like my prog is supporting some of the data types like it correctly gives system name and time but is giving some unrecognizable characters when i query system description..
Imports System.Text
Imports System.Net
Imports System.Net.Sockets
Imports snmpClass
[code]....
I am sending SNMP SystemName query to local host and in the output i m getting little square characters instead of the specific system name..
Imports System.Text
Class Form1
Dim commlength As Integer, miblength As Integer, datatype As Integer, datalength As Integer, datastart As Integer
[Code].....
i need a code the will draw a circle on a picturebox that will have the border color blue and the inside color black. i also need the same thing but for a square.
View 16 RepliesPossible Duplicate: VB.NET replace pixel color of picturebox image i want to extract square from full picture full pic: [URL] i want only this: [URL]
View 1 RepliesI need to take a minimum and maximum value from the user for length and width using an array(s) and display the square feet of all values. Since the values can be any number the array(s) size cannot be defined. In my form I have 4 text boxes (MinWidthTextBox, MaxWidthTextBox, MinLengthTextBox, MaxLengthTextBox). I have been able to take the text from each text box and initialize 2 separate arrays with those values, however I am completely lost on how to get the square feet from each element. In other words I don't know how to do this:
WidthArray(0) * LengthArray(0)
WidthArray(1) * LengthArray(1)
WidthArray(2) * LengthArray(2) etc. etc.
I don't know if that is possible or if I am over complicating things.
Here is the code I used for my arrays:
Dim WidthArray() As Integer
Dim LengthArray() As Integer
Dim MinWidthInteger, MaxWidthInteger, MinLengthInteger, MaxLengthInteger,
[Code]......
In each For loop I can output the elements to a listbox for text and it works but again I have no idea how to multiply each element to one another to get square feet. Should I be using a multidimension array instead?
I have a picture that is the map of a circuit [URL]. Now I want a Square to follow that circuit. I have tried some things but I couldn't get it right. How would you start? And how do you access the color values of the "line" to follow it with the square? Or is that even the wrong way to do it?
View 10 RepliesI was wondering if it was possible to somehow use (or import if I have to) the square buttons that you sometimes see as the default System button on older Windows computers, and use it instead of the new Windows XP rounded kind with the white background.
I tried looking here to simply make the square button myself: [URL]But it makes 0 sense to me.Also I don't want Flatstyle as it makes the button 2D and I want the old square but 3D buttons, like the OK and Display button in this picture.[URL]