Construct A 3D Object From Stack Of 2D Images In Program?

Jun 4, 2010

I have a stack of 2D dicom images and want to convert to a 3D object using VB.NET. I suppose I can solve it using openGL but any clue would help a lot. Do you know a free (or at least cheap) pack to do it?

View 1 Replies


ADVERTISEMENT

Construct XML From A Custom Object?

Dec 20, 2009

I need to construct an XML transaction of the following format[code]...

I was thinking of creating a "GetXml" function on my object that returns the XML representation of the values in the object instance.I could do all the string concatenation myself, but surely there is a cleaner way.

View 4 Replies

Construct Object Names At Runtime?

Jul 15, 2011

Is it possible to construct the name of an object (in this case, a Panel control) at runtime?

What I want to do is change the Backcolor of one Panel that is a member of about fifty panels. I can get the string of the name from the Sender in a RadioButton CheckedChanged event. So what I want to do is something like:

PanelName = sender.parent.name & ".BackColor"
PanelName = Color.Red

(I realize that the syntax above is invalid. I'm just using it to try to get the idea across.)

I can do what I need with big, fifty-element Select Case blocks, but the code is so repetitive that I was hoping there was a more elegant way.

View 7 Replies

Construct A VB Program That Will Calculate Dog And Cat Ages?

Mar 11, 2009

I am going to construct a VB program that will calculate dog and cat ages, i plan to have a user interface to ask the user if they have a cat or a dog, then id like another window appear to ask how many human years of age is your dog/cat, up to the age of 20 (in human years) with that input the calculator will give you the age equivilent in dog/cat years.

View 1 Replies

After Converstion Of 6 With Label Arrays To 2010 Program Fails With Stack Overflow?

Jan 12, 2011

Now I see that VB tells me that label arrays are no longer supported But I also see that VB2010 is providing the relevant logic to update each of the label array fields I was until today using VB2008, because after running this application it crashes with a report of stack overflow, I assume it is related to the label arrays, but have no idea. So I have upgraded to VB2010.

In VB2010, I note that the immediate window is reporting A first chance exception of type 'System.InvalidCastException' occurred in Microsoft.VisualBasic.dll Now I have used label arrays for showing columns of like data, generated by a for loop. What should I be using it its place, maybe a grid..

View 2 Replies

Combining Images Into A Single Graphic Object?

Jul 24, 2010

I am attempting to combine multiple bitmap images into a single graphic object using Drawing.Drawing2D command but am noticing the image quality changes.I tried various combination of these ...

g.InterpolationMode = Drawing2D.InterpolationMode.HighQualityBicubic
g.SmoothingMode = Drawing2D.SmoothingMode.HighQuality
g.PixelOffsetMode = Drawing2D.PixelOffsetMode.HighQuality
g.CompositingQuality = Drawing2D.CompositingQuality.HighQuality

but did not get the "perfect" quality.What I want is one image to be in one region of the graphic object. Another image to be in another region. There is no overlapping of the image regions so essentially I want an source image to be as is in a given region. I noticed an option for "CombineMode" for Drawing2D but cannot figure out if and how to use this to get what I want.

View 3 Replies

Get A WebBrowser Object Not To Download Flash And Images?

May 17, 2009

I am currently trying to get a WebBrowser object not to download flash and images. This is just to make a lightweight browser. I know this can be done within the IE settings, but i would prefer it on an application level.

Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.Navigate(New Uri("http:google.co.uk"))
End Sub
End Class

I have found some C# code, but i dont know how to change it to VB.Net and the convertors make some bugs, which i do not know how to fix

Software i am using:

Windows XP SP3
Microsoft Visual Studio 2005

getting the webbrowser to stop downloading them?

View 3 Replies

Matching Of Two Images When The Object In The Image Is Variable?

Apr 16, 2010

problem we have a database where some signs are stored. a user comes and shows a sign throw webcam and if this sign exist in the database then corresponding sound will be produced.so here i m doing pixel by pixel matching so if the position of sign shown by the user is different from the saved image then it would give unmatched while same sign as in the database is shown..the image of a sign is shown in attached file.

View 1 Replies

My Resources Object - Access Resource Images Without Strongly Typing?

Jun 18, 2009

I am having a problem accessing my resource images. a brief history, my image name is the same as my item name I want to display the proper image with the associated item in a data grid, as I loop through and load my datagrid I need to combine "My.Resources._" with the item number to correctly associate the proper image.

[Code]...

View 6 Replies

Detect Collision Between A Graphics Object And Picture Object In Program?

Oct 20, 2011

I am making a lunar lander game that randomizes the terrain for each new game, so each game is different. For my game, I am creating a graphics object that draws a closed curve for the terrain of the game. I am trying to then detect if a picture object collides with the graphics object.[code]...

View 1 Replies

Construct A Data Array?

Oct 27, 2009

I need to construct a data array and I am not sure if I can do what I need to do given the data. I probably should opt to store in a new class but that's too advanced for now

the data describes a series of points. each point has its index in a list a boolean, binary value and a list of integers of its neighbour points. so i thought it would be three columns and the third column would store a list. can you do this?

I presume i could get rid of the column dedicated to storing the integers..

View 13 Replies

Creating NEW Construct In A Class?

Dec 31, 2009

I have an application in VB.Net and now I find out an API is not compatible and requires VB6. I am trying to convert it back to VB6 and have an issue in a Class Module. In VB.Net, I have:

[Code]...

View 7 Replies

Construct A Master-Details Form?

Jun 21, 2010

Im having some trouble to construct a Master-Details form. When I navigate through each record on the master nothing happens on the details. This is so even if there exit a relation between the two tables in the database and in the dataset between the data table. Can anyone provide me with some samples or examples of coding how to proceed?

Furthermore I have tried to programmatically create the relation but the following error occurs: child list for field cannot be created etc

View 1 Replies

Construct A String And Use It To Call A Variable?

Aug 3, 2011

This is probably a dumb question but I have to call one of 30 or so global variables by constructing the variable name to be called from another information. However when i do that it treats it as a string. Any ideas on how to make this work?eg something like this:

Public gsNewYork As String
public sub Getinfo
dim lslocation as string

[code].....

View 1 Replies

Construct Enumerator At Runtime From XML File

Jul 17, 2010

I am looking for a way to read an XML file at run time and construct an Enumerator from it. I got the reading and writing all working, it's just getting all the strings to create an enumerator that's the tricky part. I could get them into a collection of strings or maybe a dictionary, but not sure how to go about converting from these into an enumerator. The goal of this is to allow users to add and delete items from the underlying enumerators and eliminate writing hard coded enumerators. My idea is to allow users to extend the program without coding. This is a Winform vb app thats not using any database but just XML files to store and retrieve things.

View 7 Replies

How To Manage Hyperlink Construct Macro

Aug 23, 2009

I have a spreadsheet with Proj Numbers: "049410-001" in column B6:B60. I have the URL to the Database: I want the links to show up in the A column with the Tag being the Proj Number "049410-001".

Also, if I could clear the A column and use it "A column" to enter the Proj Numbers and then run the Macro to enable the Hyperlinks I could eleminate the Proj number taking up 2 columns. I have 80 rows set aside for projects so it needs to go through and enable the links that have text in them.

i used =HYPERLINK(E24,B105) (E24 was another wasted cell that combined the static first part of the link, and the proj) as the formula way to do it, but I'm trying to make a Macro that does it behind the scene. but I am just getting into VBA, and I have no idea what i'm looking at when I look at a code.

View 3 Replies

Use CheckedListBox CheckChanged States In An If Construct?

Mar 1, 2010

I have a CheckedListBox populated with specific records from an Sql table . I want to update each record in the table, only if the checkbox checkedState = True, so far I can update all or none. This unworkable code will hopefully give an idea of what I need to do.

[Code]....

View 8 Replies

Construct IP Header Information And Raw ICMP Packet

Mar 1, 2009

I was trying to figure out if anyone had any example of sending ICMP packets over a Socket, when it is in raw mode?It would need to construct the IP Header information, and the raw ICMP packet.

View 1 Replies

Select Case Construct Vb - Days In A Month

Feb 13, 2009

I need to use select case to input a month by using its number IE: january = 1, february = 2 etc. when the month is inputted, how many days in that month is the output. I have to take into consideration leap year. the years I am using to determine leap year is 2004,2008,2012,2016 Here is the code I have so far:

Module Module1
Sub Main()
Dim monthnumber As Integer

[code].....

View 12 Replies

DIsplay Images In Program?

Jul 20, 2009

I have a number of image files name image1.gif image2.gif image3.gif etc upto image52.gif

I want to display an image in a picturebox dependant upon a value wich is generated elsewhere in the app, so that if '3' is generated I a picturebox to display image3.gif

if 2 is generated image2.gif. However I have 52 such images to be displayed in 16 picture boxes so I was wondering

if there is a more efficient way than a select case method for each image and each picture box.

View 1 Replies

Program To Edit Images?

May 24, 2011

can i use vb.net to make project on editing images

View 3 Replies

Resize Images In Program?

Jan 27, 2010

I'd like to make a simple VB utility to resize images using vb.net. I am having trouble figuring out what vb class to use to actually manipulate the images. The Image class and the Bitmap class don't work.

View 2 Replies

Construct Byte Arrays That Will Be Guaranteed To Come Out Of Encryption At A Pre-determined Size?

Mar 31, 2011

Working with System.Cryptography, I'm noticing that data arrays up to a certain size will either conform to the size of the Initialization Vector (IV) or the size of the Key provided. So with a 48-byte Key and a 32-byte IV, up to around 42 bytes of data will encrypt to 32 bytes and 44+ will encrypt to 48 bytes of data. I've tested this with a variety of data arrays, and it seems to always come out the same... but I have a concern that higher byte values in the original array may result in longer encrypted arrays.

how or whether I can construct byte arrays that will be guaranteed to come out of Encryption at a pre-determined size?

View 16 Replies

Construct Command Byte To Send To Another Device Using Bit Wise Operations

May 27, 2010

I have a need to construct a command Byte to send to another device using bit wise operations.There seem to be plenty of article on how to do this for indiviual bits using an OR'd constant but how do I do this for values that span multiple bits? eg "Bits 4-1" set the repeat count".so how to I inject a repeat count value of say 7 into my command byte?

View 1 Replies

Application That Can Manipulate Images For Program?

Jul 21, 2010

Basically functionality i need is:

easy integration with ASP.NET application.user ability to crop image with handle prior to save image optimization from any image type to jpg (compression levels) during the save saving images with proper h/w ratios during the save user ability to rotate the image prior to save ability to translate application to foreign language as it won't be used on international site

View 4 Replies

C# - How To Build Program To Resize Images

Jan 20, 2011

I need to loop through a very large collection of images and resize them all to 400x600 pixels. Is this possible?

View 5 Replies

Enlarge Images As The Program Is Running?

Jul 6, 2009

what is the code to enlarge images as the program is running

ie double click the image and it expands

View 12 Replies

Print Images From A Picturebox In Program?

Sep 16, 2009

I have written an application in which, among other things, there is a picture browser, allowing the user to load and look at pictures (jpeg-type). So I thought it would be nice if they could print their nice pictures too. And here is where all my problems started. I've tried almost all the code examples given to me, but none works. Isn't that strange?

I want:

a) The user will click the print button and the print dialogue will appear and thus enable him or her to choose wich printer to use

b) When the choice is made, click OK or PRINT or WHATEVER and the picture/photo will appear on a piece of paper which they can frame and hang on the wall or where ever

Yes I'm sounding sarcastic, and that is because I'm tired from lack of sleep, trying to make this happen. And I only have a few days to complete everything. To make it worse I haven't even started on the part where they are able to print text from textboxes on a form... Oh My God. for some reason I though printing something from an application would be the easy task when it comes to programming in VB. I was obviously wrong. It happens from time to time.

View 7 Replies

Retrieve 10 Images From A Particular Folder In Program?

Jan 30, 2009

How to retrieve the 10 images from a particular folder in vb.net

View 1 Replies

VS 2010 - Program Launcher With Images

Sep 6, 2010

I'm in the middle of making a program launcher. I've been able to make a version of it before, but now I want to add more options for viewing the shortcuts. The 2 main views I'm trying to get are: Icon only and Icon with the name.

Here is my original code for only the name:
VB.NET
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Start bottom right of screen
Dim working_area As Rectangle = _
SystemInformation.WorkingArea
[Code] .....

I have switched over to a listview because I assume that's what i will need in order to show images. So I guess my first question will be how do I get only the icon from each file and then show it in the listview.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved