Topics
-
-
- Administrators
- 3 replies
- 951 views
I want to be able to capture debug events on a machine and transmit them to a logging server across a network. I can handle everything except how do I subscribe to debug events on a machine. Obviously it can be done because applications like debug view do it, the question is.. Is there any reasonable way to do it in vb.net? I asked a similar question back in January and to date it still has no responses. Is it just not possible for some reason?
Last reply by PrOpHeT, -
-
- 1 reply
- 628 views
I have a web browser control on my form and a listbox where the user can select an item and it will load a webpage into the browser. I would like when the user clicks an item in the list a label will say "Loading" and when the page has loaded it disappears again but I don't know how to code the part to make it disappear when it finishes loading.
Last reply by Lanc1988, -
- 2 replies
- 699 views
I have a listview set to details view and im using the following code on Form Load to add items and subitems to the list but I would like to have a small image in front of each item but I can't figure out the code to do that ListView1.Items.Add("Overall") ListView1.Items(0).SubItems.Add(SubVals(0)) ListView1.Items(0).SubItems.Add(SubVals(1)) ListView1.Items(0).SubItems.Add(SubVals(2)) ListView1.Items.Add("Attack") ListView1.Items(1).SubItems.Add(SubVals(0)) ListView1.Items(1).SubItems.Add(SubVals(1)) ListView1.Items(1).SubItems.Add(SubVals(2))
Last reply by Lanc1988, -
-
- Administrators
- 1 reply
- 843 views
I have two database servers, one is SQL Server 2000, the second is a SQL Server 2005 (Standard Edition). In the 2000 server, I have a database from which I need to take data on a regular basis and copy it to a particular database in 2005. In the tables that I am copying from I have a column titled "ETLStatus" which can either be NULL or 'T' where 'T' indicates transfered data. If a row is inserted or updated, the "ETLStatus" is set to NULL. I then run a select statement where the "ETLStatus IS NULL" and proceed to perform a SSIS Lookup operation on the 2005 database. If I find data during the lookup, I then perform an update operation on the 2005 database. If I don'…
Last reply by PlausiblyDamp, -
-
- 2 replies
- 5.3k views
Hi! I'm new here. I have a WPF C# project, in which there's a "media player" for audio that I made with the WPF media element control. I have play, pause and stop controls which work fine. I want the player to have a progress bar like in Windows Media Player that shows the progress of the audio file playing, and the user can also click on the bar to jump to certain parts of the audio. I tried using a progress bar control and a timer- but I didn't really succeed in creating the progress bar for my media player. Can someone please help me? Please reply. Thanks!:)
Last reply by amitairoa, -
-
- Administrators
- 3 replies
- 773 views
Hello, I am not a really advanced vb.net coder but I would like to make a simple database that can be searchable. Basically I have a list of about 1500 NPC names and for each one of those I have various information about them such as Location, Level, etc. Currently the only way I can think to do something like this would be to make 1500 .dat files and put them in a directory and then have a button that when pressed with load all the .dat file names into a listview (set to detail view) and then when the user double clicks an item it will display the information (Location, Level, etc.) (I haven't put all of the 1500 NPC and information into the .dat files yet) T…
Last reply by Lanc1988, -
-
hai all, i have to send date as long formate my customer having one application which is developed in java it requires the input date as long i have the function when i run the program which in java i am getting a longnumeric value then i found it shows current date as milliseconds from 1970 jan 1 so when i am sending i also want to send it in the same way so please help me how to do it
Last reply by MrPaul, -
-
- Administrators
- 2 replies
- 1k views
I have 2 textboxes (tbxCustomerName, tbxCustomerNumber) that has a custom context menu attached (cmMRUList). The context menu has a sub-menu (MRUMenuItem_Recent) that contains the most-recently-used customer names. Within the click event (OnMRURecentItemClick(object sender, EventArgs e)) of the MRUMenuItem_Recent items, I need to get the text of the "parent" textbox that the context menu was initiated from. I've looked at the "sender" object to try to find the top level control, but to no avail. The "owner" property of the "sender" contains the context menu itself. Is there a way to get the top level control ?
Last reply by flynn, -
-
- 0 replies
- 674 views
Quite possibly this is common knowledge and I'll look stupid for posting this; however, I recently came across this and thought it was an eloquent way to describe how .NET versioning works from the perspective of the “Project Properties” screen in Visual Studio. Full Text Article
Last reply by Nate Bross, -
-
- Administrators
- 9 replies
- 2.6k views
I'm stuck. I haven't been stuck for a while. Manually doing a publisher policy in GUI tool works fine, but I'm trying to make a publisher policy assembly. I have a test app that I'm working with for simplicity. version 1.0.0.0 is deployed to GAC. my test console app is using version 1.0.0.0 returning a string ("Hello World") version 1.1.0.0 modifies the string to "Hello Everyone" Again, when manually doing publisher policy when I run the test program I get "Hello Everyone" and when view the 'fusion?' program (the one used for debugging binding) it shows the policy being found at the machine level and returns the right assembly (1.1.0.0) from the GAC. N…
Last reply by joe_pool_is, -
-
-
- Administrators
- 11 replies
- 1.5k views
Hai all, i developed a webservice which will take the data and update the database here my doubt which url i will provide to the client when i run my service my URL Looks like this http://localhost:2412/test/Service.asmx in the browser it shows two links named as helloworld and response i wrote code in response. so here i am unabe find which url i have to provide to the client please guide me here i am giving link after clicking the response link my url look like this http://localhost:2412/test/Service.asmx?op=response please help me its urgent
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 2 replies
- 741 views
I have a form with an IE web browser control on it and a listbox. When the user selects an item from the listbox it loads a .htm page into the browser control but for some reason the images will only appear sometimes and it seems to be random. When the images don't show, there isn't a box with a red X meaning it couldn't find it, its just an empty space. When you right click where the image is, it shows options for Show Picture but that doesn't work either. (the .htm page and images are all offline, stored on their computer) Also, when you right click where the picture should be and go to Properties it does show the right path to the picture. What do I need to do to fi…
Last reply by Lanc1988, -
-
- 1 reply
- 8.5k views
I have never tried this before, so I have been looking for a workng example. So far no luck. I want to open an Excel 2007 file in VB.Net. When I try I get an error: Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD)) I have no idea what is going on. This is the code I'm using: Private Sub btnExcel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExcel.Click Dim xlApp As Excel.Application Dim xlWorkBook As Excel.Workbook Dim xlWorkSheet As Excel.Worksheet xlApp = New Excel.ApplicationClass xlWorkBook = xlApp.Workbooks.Open("C:\Test.xlsx") xlWorkSh…
Last reply by techmanbd, -
- 4 replies
- 5.5k views
Hi, I've created a windows forms application (VS 2005) and i would like to place it on server so that other computers on my network run it from there. I already copied the software on the server, but when i try to run it from another computer it simply says that the application has stopped working. Thanks
Last reply by digioz, -
-
- Administrators
- 4 replies
- 1.8k views
Hello I have a question regarding English! Strange huh? But my English is poor! Anyway, is this sentence correct? "I prefer to apply filter to my web site rather than the government." I want to say that if I don't apply filtering to my site, the ****ing government will do! So I prefer to do it myself instead of government! Did I say it correct at the above quoted sentence? Thank you.
Last reply by Nate Bross, -
-
- 0 replies
- 928 views
Hi, I have implemented a windows service which opens the visio file & loops through each shape in each page & stores details in database. Now the problem is for some visio file the process does not respond in "open" command . i have given all the necessary permission for both visio component & the folder from where the visioi file is read can anybody help me on this?
Last reply by mithila, -
-
- Leaders
- 2 replies
- 3.4k views
I'm tackling my first MDI project. I have my MDI child loading up fine in my MDI parent. The parent has an icon and I assigned the same icon to the child so that they match. Now, if I maximize my child, it fills the parent, but the main menu gets large and includes the icon of the child - only bigger. Whoops! Not what I wanted. How do I fix this? Does the child form need a special FormBorderStyle property? Currently, I have it set to Sizable.
Last reply by joe_pool_is, -
-
- 5 replies
- 1.1k views
I am trying to create a generic class that will take a most-recently-used list and create a context menu for it. The code below (in a slightly different version) works perfect, but only if I have the function "BuildMRUSection()" in the CustomerClass. The reason for this is because the "tsmi.Click += " needs to be able to see the "OnMRURecentItemClick" event handler in order to assign it. What I need to be able to do is pass a pointer to the function "OnMRURecentItemClick" into the MRUList_Dynamic class in order to do the assignment within that class. This will make the routine more encapsulated and easier for the caller. public partial class CustomerClass { MRU…
Last reply by flynn, -
-
- Administrators
- 3 replies
- 5.2k views
Hi, I am migrating my vb6 project to vb.net. currently i have two forms and second form contains public function GetData , in VB6 i was calling this function from form1 as below str =Form2.GetData Form2 is the name of second form.. how can i do this u=in VB.net . Do not want to create object of Form2 in form1. help needed...........
Last reply by cugone, -
-
-
- Administrators
- 4 replies
- 3.7k views
hello guys! i am new to VB.net and i would like to ask if how can i pass sqlparameters in my custom function i have a class name obj and has a function called search Public Function Search(ByVal sqlStatement As String, ByVal cparam As SqlParameterCollection, Optional ByRef e As String = "") As String Try Dim cm As New SqlCommand cm.Connection = cn 'Set a Connection cm.CommandText = sqlStatement 'Execute SQL Statement cm.Parameters.Add(cparam) cm.CommandType = CommandType.Text 'Refers that the command is SQL and not Stored Proc Search = cm.ExecuteScalar() …
Last reply by monkeynote, -
-
Who's Online 0 Members, 0 Anonymous, 48 Guests (See full list)
- There are no registered users currently online