Topics
-
- 0 replies
- 1.5k views
I NEED to log in to deviantart.com and collect from there some images I like, for personal use. I am an artist! I use a windows application (NOT an ASP). I must use cookies to login to that website and set a "mature content" , to be able to see all artists posts. I need a code solution, or an idea about how to make it. I am struggle with this for half of a year already and I couldn't resolve it by myself. Please, and thank you.
Last reply by q12, -
-
- Administrators
- 3 replies
- 3.9k views
I created some kind of surfing control application. The application open a form, get from the user cardinals, and then it close up and run background thread that sends information about the surfing activity to logger. Sometimes there is a need, of course, to open again the form to change settings� but since the back ground thread is a different thread, there is no way to open the "same" form again, nor close the net listener, each try to do so and with exception that generally says that you can't control the main process from another thread. I can't create new instance of the main form, since the network card is "busy" with the first process. I found that code that open…
Last reply by PlausiblyDamp,
-
-
- 0 replies
- 4.5k views
How programmatically select one element in html-page in WebBrowser, for example Table with id="Table1"
Last reply by zaharius, -
- 2 replies
- 13.9k views
Hello, Currently working on a fairly simple forms application. Since I am a complete newbie, I can't figure out even simple stuff. I would appreciate any help in this regard. This is what I intend to do: A small application that pings a list of servers. The list is stored in a Access mdb file. When the application pings the PC's in a loop, it looks for any PC that's offline. If counts the PC's that are offline and those which are online and reflects that count separately onto two labels somewhere on the form. Plus, it should log the event if it sees that any PC was unreachable. The logging should be done in that AccessDB file, but in a separate table. Logging t…
Last reply by robertsams23, -
-
- Leaders
- Administrators
- 5 replies
- 7.7k views
How can I ignore window's font size scale settings? Because if the font size is set to 125% or above my app will be completely wasted as dozens of controls will overlap and text itself will be cut in 90% of the cases. Not to mention that one of my forms got destroyed when I opened it in my new Notebook which had the font size set to 125%. I had to reposition every damn control on that form when I set the font size back to 100%. So, how can I completely bypass window's auto font scale size? (The correct way to see it) I understand that I shouldn't override the user's chosen settings in windows, but I have no other way to let my custom controls function properly a…
Last reply by EFileTahi-A, -
-
- 1 reply
- 6.4k views
I have a module Option Strict Off Option Explicit On Module TXTread Public Function ReadTXTValue(ByRef KEY As String, ByRef Variable As String) As String Dim NF As Short Dim Temp As String Dim LcaseTemp As String Dim ReadyToRead As Boolean AssignVariables: NF = FreeFile() ReadTXTValue = "" KEY = "[" & LCase(KEY) & "]" Variable = LCase(Variable) EnsureFileExists: FileOpen(NF, frmStart.txtMessage2.Text, OpenMode.Binary) FileClose(NF) SetAttr(frmStart.txtMessage2.Text, FileAttribute.Archive) LoadFile: FileOpen(NF, frmStart.txtMessage2.Text, OpenMode.Input)…
Last reply by mandelbrot, -
- 0 replies
- 1.7k views
I have a basic windows form in VB. I am using the following code to connect to a SQL database. The database has two tables. The goal here is have a user make a selection in one combo box and populate the other with only the records that match the query. The first combobox is populated by table tblsymbols column process. The second is populated by tblparts and should fill the box with all part numbers where the process columns match. Private Sub frmParts_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Me.TblPartsTableAdapter.Fill(Me.KanbanDataSet.tblParts) Me.TblSymbolsTableAdapter.Fill(Me.KanbanDataSet.tblSymb…
Last reply by mulefeathers, -
- 0 replies
- 1.6k views
Hi all, I am working on a form, which has to resize itself according to the screen resolution. While doing so, the controls alignment with adjacent controls are missing.Suggest me, how to achieve it?
Last reply by Andy1309, -
- 0 replies
- 2.4k views
I make project with reference to Microsoft Word Object Library, Form1 (eazy windows form), Dialog1 (dialog form). In Form1 I insert Button1 and Button2. The code: Code: Imports Microsoft.Office.Interop Public Class Form1 Private WithEvents wdApp As New Word.Application Private WithEvents wdDoc As New Word.Document Private txtBox As New TextBox Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dialog1.Controls.Add(txtBox) �make textbox programmatically txtBox.Visible = True End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1…
Last reply by zaharius, -
- 0 replies
- 1.6k views
Hello, Hello guys, Today, when I tried to make a new button, and moved it in the designer, I got this error: http://i1257.photobucket.com/albums/ii514/CraploadStudio/img01.png It was okay until I moved it, but when I did, this error printed itsself on the button like a background image. The other forms in this project or any other don't have errors. Then I tried adding any control to the form, but they all printed this error when moved in the designer. There might be something wrong in the form's designer code, wich I chacked (form1.designer.vb). Does anyone have any idea of what this means? Regards, suzi9spal
Last reply by suzi9spal, -
-
- Administrators
- 13 replies
- 2.7k views
Hi guys, first of all I'm not very good at programming and I've tried to be as explanatory as possible in my codes. I've been trying to write a program which enables a user to chat (recieved & transmit) messages via Serial Port using a simple custom made IR modem. I've constructed the modem and now trying to write my own simple program instead of using Terminal or other already written program (i.e. Tera Term). Btw, I'm on Windows 7 and using the Microsoft Visual Express 2010 Environment I've written the codes below, based on the tutorial at this site. Tutorial Site as well as this microsoft website for reference (putting it here just in case) MSDN Serial Port…
Last reply by PlausiblyDamp,
-
-
- 0 replies
- 2.2k views
Hi,I'm Polas and i need to someone to help me to fix the problem. The problem is how remove these google junk pages from richtextbox and fix listbox problem ? Here is the picture to understand what i mean. http://s1.ipicture.ru/uploads/20120804/bzt2Kk9l.png This code is for richtextbox to add pages. Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted Dim htmlele As HtmlElementCollection htmlele = WebBrowser1.Document.GetElementsByTagName("h3") For Each htm As HtmlElement In htmlele Dim chld As HtmlElem…
Last reply by polas, -
-
- Leaders
- 3 replies
- 2k views
Is there a way to extend the bounds of a control, so that it has some extra space between the physical boundary and the graphical edge? Look at the image in attachment that demonstrates what I want to achieve. In this case it is a datagridview with some extra space on the right. Sure, I could put it inside a usercontrol, but I want this control to Inherit directly from DataGridView.
Last reply by snarfblam,
-
-
-
- Leaders
- 2 replies
- 2.4k views
Hello, I wonder how do I make a usercontrol that pops up a listbox. Just like the search box in Google. The problem is, that when I put a listbox in my usercontrol, it displays within the control bounds. This list though needs to be displayed outside the control bounds. How do I do this?
Last reply by bufer24, -
-
- 0 replies
- 2.5k views
Hi, I am making a usercontrol containing a datagridview and some additional controls and I need to expose the Columns property of the datagridview in my usercontrol at design-time. I know that it isn´t as easy as "Public Property Grid as DataGridView ..." and I tried many of the workarounds that I found on the internet, but with no success. Obviously the best way is to write a custom ColumnCollectionEditor. Could someone please provide a complete solution for this problem in VB.Net? Thanks in advance.
Last reply by bufer24, -
- 14 replies
- 6.5k views
[csharp] private void cboImportset_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { // Catch the enter keypressed if (e.KeyChar = Keys.Enter) // { // Check if ImportSet already exists if so select ImportSet. // if ImportSet doesn' exists add it to ImportSet list. MessageBox.Show(e.KeyChar.ToString()); // } [/csharp] Errors are: - Cannot implicitly convert type 'char' to 'bool' - Property or indexer 'System.Windows.Forms.KeyPressEventArgs.KeyChar' cannot be assigned to -- it is read only - Cannot implicitly convert type 'System.Windows.Forms.Keys' to 'char'
Last reply by Anil_hyd, -
-
- Leaders
- 1 reply
- 2k views
I have a form that is instantiated with the following code. When I click the ok or cancel buttons that are on the form I call me.close() but the form does not close. I just stays on my screen and my application is hung. The form is not running on the same thread as the main form. If _frmAppManpower Is Nothing Then _frmAppManpower = New frmAppManpower AddHandler _frmAppManpower.FormClosed, AddressOf OnFormClosed End If With _frmAppManpower .RosterID = rosterID .ApparatusName = apparatusName .TopMost = True .WindowState = FormWindowState.Normal …
Last reply by snarfblam,
-
-
-
- Leaders
- 6 replies
- 2.5k views
Hi hi, yo yo! Hi everybody, I'm using some code to make a transparent label, but as soon as I change the text or the text align properties the previous text remains intact! (like the image) When I move it around though everything goes back to normal, but I'm wondering if there's something I can do to fix this issue. The OnPaint method is overriden like this: Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs) Try MyBase.OnPaint(e) e.Graphics.TextRenderingHint = Drawing.Text.TextRenderingHint.AntiAlias e.Graphics.DrawString(Texto, MyBase.Font, vPincelDeColorDeTextoLabel, vPropiedadesDeRect…
Last reply by snarfblam,
-
-
-
- Administrators
- 2 replies
- 2.1k views
Yoooooo! I'm writing a user control and I have XML comments on almost every method and property. When I load the control for debugging the properties I created appear in the property window, but not their description (I uploaded a pic). If I could also change the name "Misc" by something else would be great too. Thanks guys!
Last reply by Doggo120, -
-
-
- Leaders
- 5 replies
- 2.5k views
Its me again! I was trying to find everywhere how to hold down some key (for example, "M") and animate a Button so that it looks that it's "pressed". When I release "M" then the button will be released as well (as if I have clicked the button with the key) Button.PerformClick does not show this. In VB6 there was a Value property, which made this possible... Thanks!!!
Last reply by Doggo120, -
-
Who's Online 0 Members, 0 Anonymous, 75 Guests (See full list)
- There are no registered users currently online