Topics
-
-
- Leaders
- 5 replies
- 2.2k views
I have an annoying problem. I have tried everything I could think of and anything google gave me and nothing is working. I have a form in a split panel. It contains panels and the panels contain the labels and text boxes. I carefully resize and move the text boxes and labels, save. When I open the form again or run the application the panels and textboxes has resized iteself to be squished up and moved some of the labels underneath the text boxes. This is driving me insane. Please help.
Last reply by snarfblam, -
-
-
- Leaders
- 11 replies
- 53k views
Hi, Not sure how useful this is to anyone but I had alot of trouble finding a VB.NET Screen Resolution Change functionality, so I managed to get it working, and the code is below. Can be called by: ChangeRes(1024,768) Any comments are welcome, as are bug fixes!!!! Imports System.Runtime.InteropServices Public Module resChanger Const ENUM_CURRENT_SETTINGS As Integer = -1 Const CDS_UPDATEREGISTRY As Integer = &H1 Const CDS_TEST As Long = &H2 Const CCDEVICENAME As Integer = 32 Const CCFORMNAME As Integer = 32 Const DISP_CHANGE_SUCCESSFUL As Integer = 0 Const DISP_CHANGE_RESTART As Integer = 1 Const DISP_CHANGE_FAILED As Int…
Last reply by andrew15, -
-
- 1 reply
- 1.5k views
I have a large document which is segmented into chapters. I have a lot of bookmarks in it which are referenced as links in other parts of the doc. What I want to do is preview a snippet of the text (say the innertext of the bookmarked paragraph). I've figured out how to create a div tag that will appear just to the right of the clicked link, but I'm not sure what the bestway to put text in it. Using a webresponse stream seems like an inefficient way to grab the text, I'm wondering if there is a simpler way to retrieve the inner text by calling the paragraph's id and returning the innertext... In any case is there a better way to accomplish this?
Last reply by caeanis, -
- 1 reply
- 1.2k views
Hello, I have some limited background in C++ and Java, though I haven't programmed in years. I'm wanting to begin programming through learning C#. I have a project plan in sight to help me learn along the way using Windows Forms and C#. I was looking for guidance here in breaking up the component pieces of what needs to be logically done along with certain things I need to research for best practices in the design. Here is a rundown of the idea: There is a folder on a PC (\..\Mail\Messages) that contains several XML files that are placed there by an existing application. I'd like to determine the location of the folder across different environments as it could b…
Last reply by hawkmcdowell85, -
-
- Administrators
- Leaders
- 18 replies
- 9k views
Hi everyone. I am making a program that blocks certain processes and i don't want my process to be terminated. Anyone got any ideas on how to do this??? Is it done in vb code or not? Thanks in advance.
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 3 replies
- 1.1k views
Hi. I've got a problem with SubString. I'm trying to send over a few variables, and i separate them with !. The code looks like this. While Not returndata.Substring(A, 1) = "!" TEST = TEST & returndata.Substring(A, 0) MsgBox(TEST) A = A + 1 End While returndata is the string witch holds the variables. A starts at 0, and then check after a ! in returndata. When I run this, I get an error. Index and length must refer to a location within the string.
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 3 replies
- 3.7k views
Okay everyone, thank you in advance for any help whatsoever regarding this matter. I'm pretty good with vb.net so I'll help around whenever I can. I unfortunately do not know that much about Crystal Reports hence why I'm coming here. I've been tasked with optimizing a program written in vb.net and C#. Basically, it's an actualarial science tool that calculates someone's benefits, bla bla, and then uses crystal reports to display the corresponding information. So, with every new and exciting opportunity there are a lot of bumps in the road to optimization. ----- Okay, so my problem is, this program basically creates a SQL statement based on parameters put in a …
Last reply by supakoopa, -
-
-
- Administrators
- 3 replies
- 3.4k views
i have this code, with only one url at first, which seems to freeze the UI for about a minutes. i wanted to get the web page html faster asynchronously, but this is not working for me Is the httpwebrequest faster? Private Sub Test(ByVal sender As Object, ByVal e As DownloadStringCompletedEventArgs) Dim newstring As String = e.Result.ToString listBox1.Items.Add ("Finished" & e.UserState.ToString) End Sub Sub Button1Click(sender As Object, e As EventArgs) for each item as String in textbox1.Lines Dim SiteURI As New Uri(item) Dim wc As New WebClient wc.DownloadStringAsync(SiteURI) AddHandler wc.DownloadStringCompleted, AddressOf Test next End Sub
Last reply by PlausiblyDamp, -
-
- 0 replies
- 1.4k views
Hi Guys, There anyone know how to integrate a window form or exe in webform form. Thank you in advanced Chris
Last reply by hackerchris, -
-
- Leaders
- 1 reply
- 1.6k views
Hi, how to captures instant messeges of msn in vb.net windows application.& how to (keystrokes)captures live chatting of msn live messenger. Thanks, Jayawant.
Last reply by snarfblam, -
-
-
- Leaders
- 2 replies
- 1.6k views
hi all, My application having one mdiform in that form six child forms are there.Switching of one form into anather form blur bars are appearing form at the title of every opened child form.These six child forms are opens in mdiform.how to remove the blue bars are appearing from every opened child form in mdiform.how to remove these blue bar.To avoid that issue please help me. thanks, Jayawant.
Last reply by snarfblam, -
-
-
- Leaders
- 2 replies
- 1.5k views
i got this type of error when i was run my vb.net application System.Data.DataRowView in grid view. tell the error in my project
Last reply by medsont, -
-
- 1 reply
- 2.2k views
I am trying to write a windows form app that allows me to update a Sharepoint List. Every example I've seen says that once add a web reference to the list using http://server_name/_vti_bin/Lists.asmx you can use that reference to create web service instance, a method of which is List so a declaration should look like Dim listService As New sp.Lists() or Dim listService as sp.Lists = New sp.Lists() However, when I create the reference, Lists is not a method under the namespace sp which is what I called my web service reference. when I type "sp." Lists doesn't appear in the intelli type drop down as an option. I get all sorts of other things like ListsSoapClient…
Last reply by caeanis, -
-
- Leaders
- 6 replies
- 1.8k views
Hi everybody, i am new here and hoping to learn a thing or two. I am having 2 textboxes which require a telephone number and a postcode. The telephone one i got working, but the postcode is giving me a hard time. This is my code for the control of the telephone textbox. Public Function ControlTelephone(ByVal StrTelephone As String) As Boolean Dim BlnTestresult As Boolean BlnTestresult = True Dim IntTeller As Integer = 0 If Len(StrTelephone) = 10 Then For IntTeller = 1 To 3 If Microsoft.VisualBasic.Mid(StrTelephone, IntTeller, 1) < "0" Or Microsoft.VisualBasic.Mid _ (StrTelephone, IntTeller, …
Last reply by snarfblam, -
-
- 0 replies
- 3.9k views
Hello, at first excused my bad englisch :D I am in search of a example how to use DirectInput to send keys and Text to a DirectX application. I need it to confer fast new tactics in the Team. I and my friends play a game against strong NPC's in LAN (Hamachi) multiplayer. And i want wo make a Vb.net programm where we can define sentences. Who we can sent with Global Hotkeys. I have try the SendKeys method but the ingame chat doesn't react. Google say some DirectX applications block SendKeys :-\ I have read the MSDN DirectInput artikel but it does not help me further. I hope you had some Tipps, Links or Code Snippets for me. Greeting Gerrie :)
Last reply by Gerrie, -
-
- Administrators
- 1 reply
- 5.1k views
Hi, i need some desparate help using "avifil32.dll" in VB.net I'm probly just a terrible coder ... as an example I've attached a basic program that takes a picturebox and turns it into an AVI. The problem i have is i cant seem to figure out how to compress the AVI during output, it grows to 400mb in about 10 seconds, and i need to run the program for hours. Any help would be appreciated -Thanks Bmp to Avi.zip
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 2 replies
- 5.5k views
What I do here is I 1) load an image file 2) blurr the image 3) pass the image to a third party component (which will save the image inside a pdf file) that accepts System.Drawing.Image, but does not do any post processing like compressing it, and the resulting big file size suggest that the file is saved as a bmp file. (If pass an unblurred image the third party component it saves the image in the original image format and results in the same small file size as the original image.) So my question is how do I compress the blurred image without making a temporary copy of it to a hard disk? [Vb] Dim Filter As New AForge.Imaging.Filters.GaussianBlur(0.1, 4) Dim So…
Last reply by JumpyNET, -
-
- 4 replies
- 6.8k views
As an intern I was given a project to go through to try and understand the developer's code, and I've run into a problem: I have two combo boxes that is populated from sql tables. The only problem is that if nothing is selected (which is possible), I get NullReferenceError: Object variable or With block variable not set. I want to add an extra item to the combo box which says something like: "Please select", this will be displayed when no item is selected. Here is some of the developers code: suburb.DataSource = DB.ReturnDataTable("Select ID,Suburb + ' - ' + City as Info1, Suburb as Info from tblG2O_PostalInfo order by Suburb") suburb.DisplayMember …
Last reply by orca44, -
-
- Administrators
- 1 reply
- 2.4k views
can anyone solve this,, more details chek the image Line 852: CheckBox CBX1 = ((CheckBox)grid_add_contacts_list.Rows[rowindex].FindControl("cbk_edit_cprimary")); Line 853: Line 854: CBX1.Checked = true; Line 855: Line 856: } error Line: 854
Last reply by PlausiblyDamp, -
-
-
- Administrators
- Leaders
- 5 replies
- 4.7k views
I have a file, "multi.ico" which has four images of different sizes (16x16, 24x24, 32x32, 48x48). Each sized image is a different color, to make it easy to tell which size we are dealing with. This file has been inserted into a resource file "Multi.resources" using Lutz Roeder's .NET Resourcer. I need to be able to extract the ico from the .resource file in such a way as to keep all four sizes of images. Ideally, I would like to have a wrapper class around the .ico object which allows selection of the image of the proper size. I have a working wrapper that I can use with a standalone .ico file (multi.ico), but my company system has a lot of images, and we need to…
Last reply by PlausiblyDamp, -
-
Who's Online 0 Members, 0 Anonymous, 56 Guests (See full list)
- There are no registered users currently online