Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #1K
~13.6K People Reached
Favorite Forums

27 Posted Topics

Member Avatar for bhagawatshinde

use proc.WaitForInputIdle() it will kind of halt your application until the main window of the proc is created .. here is a code suggestion [CODE] Dim proc As New Process() With proc.StartInfo .Arguments = "c:\equ.wmf" .UseShellExecute = True .WindowStyle = ProcessWindowStyle.Normal .WorkingDirectory = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles) + "\MathType" .FileName = "mathtype.exe" '<----- …

Member Avatar for bhagawatshinde
0
1K
Member Avatar for ÜnLoCo

Hello has anybody come across a similar control to this one. [URL="http://img138.imageshack.us/img138/875/23102010172021.png"]http://img138.imageshack.us/img138/875/23102010172021.png[/URL] if so then please give me a link. thank a lot edit : found this one [url]http://www.filebuzz.com/fileinfo/38822/Angulum.html[/url] any better suggs are welcome though :D

0
108
Member Avatar for ÜnLoCo

Hello and welcome everybody to this new thread which i hope you enjoy so this is a new software that will make you able to convert addons for Firefox let's say you had firefox 4 installed but most of the addons are not compatible yet with it this software comes …

0
76
Member Avatar for bhagawatshinde

here's an example i just made but not quite sure i grasped well what you want to do [URL="http://www.easy-upload.net/fichiers/07-09-~23910.201097213913.png"]screen capture[/URL] the example simply captures the image inside paint and shows it inside the richtextbox in the form using win32 procedures (declared in the pinvoke module) (tested on win7)

Member Avatar for bhagawatshinde
0
110
Member Avatar for ÜnLoCo

hello i have a datagridview (Dg) with 7 columns. i have a RowValidated event which tests if the validated cell is the first (index = 0) then sets the focus on the third cell with columnIndex = 2 BUT the cell that's getting focus after the row is validated is …

Member Avatar for ÜnLoCo
0
182
Member Avatar for KrisJones

try this one and see if it fits [CODE] Function StrToHex(ByVal str As String) As String Dim hexStr = "" For Each letter In str hexStr &= Hex(Asc(letter)) + " " Next Return hexStr End Function[/CODE] output example: StrToHex("a1X") = "61 31 58"

Member Avatar for ÜnLoCo
0
148
Member Avatar for SpOOKy.Is.GoD

try this Imports System.Net [CODE] Public Shared Function GetAllIP(Optional ByVal args As String() = Nothing) As Collection Dim strHostName As New String("") Dim col = New Collection ' Getting Ip address of local machine... ' First get the host name of local machine. strHostName = Dns.GetHostName() Console.WriteLine("Local Machine's Host Name: …

Member Avatar for ÜnLoCo
0
3K
Member Avatar for jlego

i've done an imageshack login and used webrequest here's my code [CODE] Public Function im_login(ByVal pageUrl As String) As String Dim response As System.Net.WebResponse = Nothing Try '' Setup our Web request Dim request As System.Net.WebRequest = System.Net.WebRequest.Create(pageUrl) '' Retrieve data from request response = request.GetResponse() Dim s As String …

Member Avatar for codeorder
0
2K
Member Avatar for choover12
Member Avatar for srice

i think ExecuteNonQuery is not it, because it returns no data rows but instead, ..the number of rows affected !! here's a code suggestion [CODE] Using upcmd As New SqlCommand("SELECT * FROM users WHERE userid = @userid", connection) upcmd.Parameters.Add(New SqlParameter("@userid", Me.txtuseridprofile.Text)) upcmd.Connection.Open() Try Dim dr As SqlDataReader = upcmd.ExecuteReader() If …

Member Avatar for srice
0
153
Member Avatar for lucaazori

salut fais attention a ce qu'il n'ya pas de caractere illegaux dans imageToCopy ou newImage des caractere comme :\/<>?|*" moi je pense que tu as une [B]"[/B] quelque part ;) et c'est myConnection et non pa myConnexion :p

Member Avatar for lucaazori
0
190
Member Avatar for cege

you have to show the "output" window. if no output is shown there then check the "immediate window" there's an option in Tools> Options> Debugging> General options> "Redirect all Output Window text to the Immediate Window" uncheck it if you want.

Member Avatar for ÜnLoCo
0
101
Member Avatar for arctushar

create the buttons in design mode and set every button text to a certain letter than in the event of each button you just write textbox1.text += buttonX.text you could make just one event for all the buttons [CODE]sub button_clicked(ByVal sender As System.Object, ByVal e As System.EventArgs) handles btn1.click,btn2.click,... dim …

Member Avatar for ÜnLoCo
0
126
Member Avatar for nv136

hello you may use "settings" to store settings project properties> settings> valid Boolean user false then in the load event [CODE] If Not My.Settings.valid Then 'ask for the serial End If[/CODE] as for the auto focus after 5 chars i think this will do [CODE] Private Sub TextBox_TextChanged(ByVal sender As …

Member Avatar for nv136
0
535
Member Avatar for sumanpk

hello this code may help in the click event of a button : [CODE] Dim tbox As New TextBox With {.Width = 200, .Name = "newtextbox", .Text = "hello", .Location = New Point(50, 100)} Me.Controls.Add(tbox)[/CODE] this will create a 200px wide textbox in (50,100)px saying "hello"

Member Avatar for codeorder
0
111
Member Avatar for dsul

hello .. how about storing the file as an array of bytes in the application resources and then generate the file on start up if it doesn't already exist ? [CODE] If My.Computer.FileSystem.FileExists("file.xls") Then My.Computer.FileSystem.WriteAllBytes("file.xls", My.Resources.xlsfile, False) End If[/CODE] project properties> resources> add resource> add existing file> browse the xls …

Member Avatar for ÜnLoCo
0
387
Member Avatar for discovery-power

it looks obvious try this [CODE]My.Computer.FileSystem.WriteAllText( filepath , DirectCast(Me.ActiveMdiChild, Form2).RichTextBox1.Text, False)[/CODE] filepath is a string (a path) which you can get out of a savedialog and assign to the richtextbox tag you code would look like this [CODE] Dim TextEditor = DirectCast(Me.ActiveMdiChild, Form2).RichTextBox1 If String.IsNullOrEmpty(TextEditor.Tag) Then If DirectCast(Me.ActiveMdiChild, Form2).SaveFileDialog1.ShowDialog = …

Member Avatar for ÜnLoCo
0
137
Member Avatar for jay200032

i think maybe you would make all the other form borderless then show'em inside the main form. but you should use the setParent API function. make new module : [CODE] Imports System.Runtime.InteropServices Module Module1 <DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _ Public Function SetParent(ByVal hWndChild As IntPtr, ByVal hWndNewParent As IntPtr) As IntPtr …

Member Avatar for ÜnLoCo
-1
168
Member Avatar for xfrolox

[QUOTE=xfrolox;1277278]@GeekByCoiCe it worked perfectly but, is there any way to prevent it to rename it in listbox ? cuz it says [Untitled - Notepad, 8056] i would like it to say Untitled - Notepad only... But im working on it, i hope you respond me back :)[/QUOTE] [CODE]ListBox1.Items.Add(New KeyValuePair(Of String, …

Member Avatar for xfrolox
0
302
Member Avatar for Mrinny

hello and welcome ! you can merge this way [CODE] 'add each point in A2 to A1 For Each pt In ArList2 ArList1.Add(pt) Next [/CODE] then re-sort all in A1 [CODE] Dim cmp As New PointsComparer ArList1.Sort(cmp) [/CODE] you will need this class [CODE]Public Class PointsComparer Implements IComparer Public Function …

Member Avatar for Mrinny
0
706
Member Avatar for kmanoj6024

yeah a facebook video uploader maybe or anything that uploads something like pics and stuff :p or a multi link sharer to facebook twitter .. that's what i can think of !

Member Avatar for ÜnLoCo
0
57
Member Avatar for scorpio26krf

[CODE] strCustomerNumber = "SELECT CustomerNumber from tblcustomers Where CustomerName = '" & ddlCustomers & "'" [/CODE] try it

Member Avatar for scorpio26krf
0
107
Member Avatar for jugosoft

can you post a snapshot of the form and the picture-box? anyways if i got you right then maybe this will help you out preserve the last B and put it in B1 [CODE] With B1 .X = B.X .Y = B.Y End With With B .X = e.X .Y …

Member Avatar for ÜnLoCo
0
2K
Member Avatar for Huntondoom

i did it once and it worked fine i remember i did row1:cell;cell;cell|row2:cell;cell;cell ... you can choose any other delimiter than use the split method to reload the text into the dgrid.

Member Avatar for ÜnLoCo
0
104
Member Avatar for leahrose87
Member Avatar for pritesh2010
0
195
Member Avatar for hassan_wah

hmm i thought maybe you could have a flag set to true when another form gets focused then when the form(in question) is activated you do the work only if the flag is set to true then you reset it to false ! i think that way when the form …

Member Avatar for hassan_wah
1
437
Member Avatar for utong_005

i guess it's pretty simple. you get the last value then you increment it right ?

Member Avatar for hirenpatel53
0
73

The End.