Reposting the same question because after posting, could not edit the question. please read the bottom especially, if u read this question before -
ok so this is the code i used from this site. everything works fine, but i need a little different code to upload image, and i dont know what to do - here's the code -
Private Sub btnAttach...
Hello everyone,
I have a vb.net application, and I want to know how to find the coordinates of the pointer (mouse) when it is clicked on the form. Not much else to say, so I'll leave it like that.. :D
Thanks
...
Whenever I try to create a new CD object I get a stack overflow. I want a parameter to be passed into mediaFactory so that it could be determined what type of media is created. Could anyone point out why I might be having problems with this when I do this "Dim media As CD = New CD()"
Thanks
Public MustInherit Class MediaFactory
Inherit...
I have a series of text boxes on my form, and my client wants me to filter out characters that aren't allowed, for example in the name field you cannot have symbols or numbers.
Now, he wants it so when you try and put in a special character it simply will not get entered into the text box. I know the logistics to this, but I'm not sure ...
I have a set of accordian divs (powered by the prototype library) in an asp.net page. I would like to save the state of the accordian, so when a postback event occurs, the same div is open rather than reloading the page entirely and opening the default div.
My plan was to set a page control value with the ID of the open div using the di...
How do I programmatically increment a given version's number to the next version of the highest one?
For example if I have a file Program.exe with the following version numbers :
Program.exe 1.0.0.0
Program.exe 1.0.0.4
Program.exe 1.1.0.76
Program.exe 1.0.0.66
The next version number in this case would be 1.1.0.77
What's the easies...
I have an issue where a ComboBox control will change it's Text value when it is resized. Here is some sample code that I worked up:
Option Explicit On
Option Strict On
Public Class FMain
Private Sub FMain_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
uxComboBox.DropDownStyle = ComboBoxSty...
hello sir,
i want list all forms in current project. example
listbox1.items.add(form1.name & form1.text)
i want load all form details in current project.
the following code give for only open forms.
For linti As Integer = Application.OpenForms.Count - 1 To 0 Step -1
Application.OpenForms.Item(linti).Text
Application.O...
There have an error
"Object Reference not set to an
instance of an object"
when using objusername.intuserid=listbox1.selecteditem.value.
...
In terms of capacity and performance in manipulating large amounts of data.
Which is better, ms access manipulated by vb.net or mysql manipulated by php.
...
This string is automatically generated with an application I can't access or change:
"http://www.site.com/locale=euen&mag=testit&issue=322&page=5&template=testit-t1"
I need to change the string to
"http://www.site.com/322_5"
where:
http://www.site.com/ comes from the previous string
322 comes from issue=322
5 comes f...
when i do this, i get the ACTION being called TWICE, what should i do about this?
if i call html.partial instead to just render the control, then i need to specify all the objects/values manually, which i shouldn't need to do this as the ACTION itself takes care of this stuff.
i maeks sense to have both these work together but they don...
This snippet is from this answer
var reports = from report in xml.Descendants("report")
where report.Element("name").Value.Contains("Adjustment Report")
select new {
Name = report.Element("name").Value,
Extension = report.Element("extension").Value,
FileType = report.Element("filetype").Value,
Fi...
I am trying to use fluent nhibernate in a MVC project... i am very new to nhibernate and fluent... It seems the entities should have properties that are virtual and the set should be private for IDs... i use vb language...so tried using overrideable...it gives an error...
Public Overridable Property DesignId() As Integer
Get
En...
I have a VB project that is converted from VB6 to VB.NET.
In this, I have a MSFlexGrid that is used as an interop compatibiliy. That means it is somewhat converted to .NET, but internally, many of the mechanisms are still from VB6/COM.
I need to drag an image from a PictureBox (which is .NET) and drop it on the flexgrid.
This is what ...
Our VB.NET project is using a Java library from Vivid Solutoins (com.vividsolutions.jts.geom.Geometry) to do Geometry calculations. The help is here: http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/geom/Geometry.html
What I can't figure out are the units specifically for the Buffer property, or any other distance for that...
I have three forms similar to the one in the link.
I want add a Total textbox to every form.
The total will add the values that will be entered in the montant textbox.
So the total will take the specific value of that texbox for all the entries that the user will have and add them.
How I can do so????
Thanks
http://i1006.photobucket.co...
In web service I have function that return bytes array. Now, I call it from VbScript and I need to catch result of this function. How I can catch result of this function in value that is gone be like a value that function return (bytes array)?
...
Hi
I'm writing a little program where I select a picture through an open file dialogue. When I selected a picture I want it to overwrite the current picture and display the new image. Now I don't have any problems with picking an image with a different extension. So when I currently have a .png I can select a .jpg but when I choose an i...
I have been following the development of the .NET Task Parallel Library (TPL) with great interest since Microsoft first announced it.
There is no doubt in my mind that we will eventually take advantage of TPL. What I am questioning is whether it makes sense to start taking advantage of TPL when Visual Studio 2010 and .NET 4.0 are relea...