Topics
-
-
- *Experts*
- 7 replies
- 1.7k views
This is from EC&M magazine, the largest periodical for the Electrical Industry in the USA. They have a Product of the Year contest every year which is what this email is about. Good afternoon Product of the Year Category winners. Congratulations to each and every one of you for this wonderful achievement. I have attached a Product of the Year logo. Feel free to use this in your online and print marketing materials. The winner of the Platinum Award will receive a separate Product of the Year logo, which I will send to the winner following the announcement in March. A description and photo of each of your products will be published in our February issue. My softw…
Last reply by kurf, -
-
- 0 replies
- 820 views
I am trying to figure out how to setup the control to look like the one in the picture i included! Any help will be greatly appreciated! Im using the latest version of sanddock control!
Last reply by kurf, -
- 1 reply
- 1.4k views
Hi there! i ve been using Crystal Report with VB6 and managed to make some things by adding code to the report's "section_format" event. Crystal Reports in VB6 are dsr objects and you can write code during the pagination of the report by the section_format events. Does anybody know if I can do the same thing with .Net? And if I can, how? Thanx, Jimmie
Last reply by eramgarden, -
- 0 replies
- 997 views
Hi :) I need an open-source component/dll for recording audio. I need to be able to specify the device it records from. I've spent a very long time on Google, SourceForge, PSC, CodeProject and more. Does anybody know of any that are half-decent? Thanks alot, -rabbit
Last reply by SillyRabbit, -
- 1 reply
- 1.8k views
I am trying to retrieve some WMI properties using Option Strict On. This requires the use of InvokeMember. I know that there are alternative ways to get the values, but I want to learn how to use WMI with InvokeMember and Option Strict On. I'm getting an "Unknown Name" error in the following statement in the code below. objProp = typeObjProps.InvokeMember("Item", _ BindingFlags.Default Or BindingFlags.GetProperty, Nothing, _ objProps, New Object() {propIndices(i)}) I expect that I am using the wrong object type somewhere or I need different Binding flags. Suggestions? The code runs in the click event for a Button and uses a ListBox1 for o…
Last reply by Howard Kaikow, -
-
- *Experts*
- 2 replies
- 835 views
I created a control, which is just nothing more than drawing and figuring sizes for a grid. I need this as a control because the grid will be much larger than the form and I need other controls all around on the form. So i figure to have this GridControl in the middle. Since I'm just drawing rectangles on it via GDI+, AutoScroll isn't working. I have to stick an actual control there... which I'm thinking of doing... maybe a picturebox with a picture to hold the grid "open" so it's scrollable. Yes, this is a real sad way of doing it. On the other side I'm thinking of just adding scrollbars and figuring out how to get the control to scroll with them... addin…
Last reply by Denaes, -
-
-
- Leaders
- 11 replies
- 9.9k views
I'm trying to find a regex that will verify that a string has all 5 vowels in it [a,e,i,o,u]. I don't care what order they're in or if they appear twice. This would be easy enough to do programmatically but I'm wondering if one nice regex can get it all at once?
Last reply by HJB417, -
-
-
- Administrators
- 9 replies
- 1.9k views
i have overridden the onPaint method, and incorporated doubble buffering and i still have a flicker in my app. im drawing everything through my own draw method, and i am calling this through a thread. i cant get rid of the flicker, but i can reduce it if i play around with the sleep duration of the thread. any ideas anyone?
Last reply by Cags, -
-
-
- Leaders
- 4 replies
- 3.8k views
i tried this : public class myClass { private const string [] alphabeths = {"a", "b", "c"}; and this : public class myClass { private string [] alphabeths; public myClass() { alphabeths = {"a", "b", "c"}; and both don't work.... how can i write this right? thx
Last reply by ThienZ, -
-
- 2 replies
- 1.9k views
hi, how can i read cells' comments from c#? Until now i've been using OleDb for reading from excel sheet, but i can only read the cells' content, not comment. Is it possible to read the comments with DataAdapter or DataReader? Or should i create an Excel Application object first and open the workbook? thx in advance .)
Last reply by ThienZ, -
-
- Moderators
- 2 replies
- 1.1k views
i created a strongly typed dataset (with classname OLDataSet and filename OLSchema), compiled it into a dll, and i reference this dll from other projects. if i'm in the project of the strongly typed dataset, write OLDataSet. and press ctrl+space, the drop down menu would show all attributes i can access and i like this. But if i'm in the projects where i referenced the OLSchema.dll, write OLDataSet. and press ctrl+space, the drop down menu only shows me "Equals" and "ReferencesEquals". If i write manually the attributes then it works.... I think sometimes it would show up.... any ideas how can i show the complete drop down menu? thx. :)
Last reply by ThienZ, -
-
- 2 replies
- 1.8k views
Hi all Can anyone help me with this issue. I am trying to build a webpage which lists a number of mp3 files with a button for each file in the list. When you press the button,I want the relevant mp3 to be played on the embedded media player on the page. I have attached the code below which shows this for an example. Question is, when the button is pressed, how do I pass the name of the mp3 file to the embedded media player? Thanks for any pointers. Flash EXAMPLE: <%@ Page Language="VB" Debug="true" %> <%@ Import Namespace="System.Data" %> <html> <script language="VB" runat="server"> Sub Page_load(Sender As Object, E…
Last reply by flash_uk, -
-
- Administrators
- 4 replies
- 1k views
Hi All, This is a snippet of my code. What I am trying to do is use strTableQuery to assign the table name I want to search through. It could be SystemName, Type, etc. Basically any of the table names. When I run this the value of strTableQuery isn't being set into the strSqlQuery. I.E. During Runtime strSqlQuery = "SELECT * from PermanentAssets WHERE strTableQuery = '*'" where I want it to equal. strSqlQuery = "SELECT * from PermanentAssets WHERE WallPortNo = '*'" Is it possible to do this? If so what am I doing wrong? Thank you in advance for your help. Dim strSqlQuery As String Dim strTableQuery As String strTableQuery = "WallPortNo" strSqlQ…
Last reply by PlausiblyDamp, -
-
-
- Leaders
- 5 replies
- 3.1k views
Hi, I'd like to search for a string case insensitive and if found change it to the way it's written in the pattern. Simple enough, but how? Consider the pattern to be "\b(Me|MySelf|I|Kejpa)\b". TIA /Kejpa
Last reply by kejpa, -
-
-
- Moderators
- Administrators
- 12 replies
- 1.9k views
Not sure what this would be called, but in VB.Net, is it possible to have some type of enum that is string based? For example, I'm tracking DataType in my program for some objects, which can be "Integer", "String", "Boolean", etc. I'd like to declare variable "X" of type "DataTypeFields". Then when I type "X = ", the intellisense will list all possible string items declared within "DataTypeFields". I can do this if "DataTypeFields" is an enum, but that has to be numeric. And in my case, doing that would be worthless, arbitrary, and a pain to convert from string to integer, and back when needed, just to get the intellisense to work. Any ideas?
Last reply by IngisKahn, -
-
- 1 reply
- 914 views
I'm writing a windows service that periodically goes out to a SQL table and checks it for new records. I connect ok and fill the dataset ok, but how do I clear the dataset once I'm done with it? What's happening is that evertime the service goes to check the table, it fills the dataset, appending from the end. So if I start with 2 new records in the dataset, at the next check the dataset will have 4, then 6, etc. I've tried using dataset.clear and dataset.Tables("tablename").Rows.Clear(), but neither seems to work. Any clues or ideas?
Last reply by eramgarden, -
- 3 replies
- 1.5k views
I'm wondering if and how I can execute an EXE that I've embedded into my VB.NET application. I know how to utilize other filetypes that are embedded, like text files and images, but don't know how to execute embedded applications. I've done lots of searching on this, found people who asked how to do the same thing, but none of them were answered. Thanks.
Last reply by PaulieORF, -
- 0 replies
- 704 views
Hi,I'm a new this forum's user. Someone have sayed good words on it. However: How can i (In Vb.Net) find the sound intensity (decibel) of a mp3's\wave's tracks and insert all record in an array. Example: As a ...a...spectrum analyzer
Last reply by lndemon, -
- 0 replies
- 909 views
Hi All, I wrote a sample application to extract the messages and attachments from a .pst file using VB.Net which is working fine. Now i am trying to web service enable this and when i added an operation in .asmx File <WebMethod(), System.Web.Services.Protocols.SoapRpcMethod()> _ Public Function extractPST(ByVal fileName As String) As String Dim readPST As ReadPST readPST = New ReadPST readPST.readPST(fileName) Return "success" End Function And i have a class ReadPST.vb which has the code Sub readPST(ByVal fileName As String) Dim i As Integer Dim objOutlook As New Outlook.Application …
Last reply by kls_kumar, -
-
- Administrators
- 3 replies
- 543 views
Need help with a Windows Service Sorry if this is the wrong place to post this, but I didn't see any category that included Windows Services. I'm trying to write a windows service routine in VB.NET and I'm using code taken straight from several examples that I've gotten from the web. The problem is that I can compile and install the service ok--it shows up in the services window from the admin tools, but it doesn't seem to be doing what it's supposed to do. Basically, I just wrote a routine that uses a timer with a 10 second tick and on every tick, an entry is supposed to written to the event log and to a text file. The strange thing is that, if I have this service…
Last reply by jlwilliams1, -
-
Who's Online 0 Members, 0 Anonymous, 94 Guests (See full list)
- There are no registered users currently online