Topics
-
-
- *Gurus*
- Administrators
- 10 replies
- 2.3k views
Hi, I developing a new project and need to prove to my manager ASP.Net is faster than PHP, else i'll be forced to use that. Any ideas on what would be a good test to use? The project is a database frontend using MS SQL Server and will be fairly query heavy. Thanks in advance :)
Last reply by PlausiblyDamp, -
-
- 1 reply
- 2k views
Hi all I am getting the error: "Index was outside the bounds of the array" when updating database records using a dataset and the sqldataadapter.update command. Here is my database code: 'Provides a means of updating basic required data for all members. Public Function QuickUpdate(ByVal orgData As DataSet, ByVal organisation As String) As Boolean Dim sqlReturn As Boolean = True Try quickAddAdapter.InsertCommand = New SqlCommand quickAddAdapter.InsertCommand.Connection = cnConn quickAddAdapter.InsertCommand.CommandText = "QuickInsertMembers" quickAddAdapter.InsertCommand.Co…
Last reply by mike55, -
-
- Administrators
- *Experts*
- 14 replies
- 1.8k views
The following code causes a string to be written vertically on a form. The code runs automatically when the form is opened. Public Sub Form1_Load(ByVal sender As System.Object, _ ByVal e As PaintEventArgs) Handles MyBase.Paint Dim sName As String = "TedN" With [b]e[/b].Graphics Dim oBrush As New SolidBrush(Color.Black) Dim oFont As New Font("Tahoma", 32, FontStyle.Bold) Dim oStrFormat As New StringFormat(StringFormatFlags.DirectionVertical) .DrawString(sName, oFont, oBrush, 0.0F, 0.0F, oStrFormat) End With End Sub I would like to put the code in a simple little sub routine that would be ca…
Last reply by TedN, -
-
- 4 replies
- 1.9k views
For an application I am building to convert an audio file, I am really passing data to Lame followed by mp3Gain for a small project but I need to trim the silence from the begining and the end. The files I'll be converting are wav files used by another software that can do this, I can also send the command via UDP packet. Now there is an application that allows this to be done and you get a response when the processe is done. This is all done by UDP. I made a test application to send the/a command to the other software I get the command to run but I don't get a response. I capatured two packes one from thier application and one from mine. From Their App 0000 00 ff…
Last reply by ZeroEffect, -
- 2 replies
- 790 views
Let's say you have a base class that 5 other classes inherit cls_Bob_Base cls_Bob_1 : Inherits cls_Bob_Base cls_Bob_2 : Inherits cls_Bob_Base cls_Bob_3 : Inherits cls_Bob_Base cls_Bob_4 : Inherits cls_Bob_Base cls_Bob_5 : Inherits cls_Bob_Base Now in the cls_Bob_Base you have a public non-overrided function called DoThis(). Performing DoThis() is done the same in every Bob class. My question is this: When you instantiate 10 Bob classes it's probably going to create 10 DoThis() functions in your system memory isnt it? Really, it only needs one memory instance of DoThis(), so it seems wasteful to even make non-overrided base functions. But, I'm pretty sure tha…
Last reply by NeuralJack, -
- 3 replies
- 803 views
Hi all, I was wondering if it is possible to write a VB.NET (or VB 2005) program so that it behaves similarly to a C dll. For example, I could write a DLL in C which an existing program (written in Java) can load and then start streaming sending data to it. I was wondering whether a similar system could be accomplished but using VB. --Amr
Last reply by Hoplite, -
- 0 replies
- 2.6k views
Hello, I would like to ask you about using Team foundation Server as bug tracking system. Already we are using Countersoft Gemini, this is one of many bug tracking application. Because we started to use repository and build from Team Foundation Server, we consider also migrating bug tracking system to TFS work items. What do you think about this? Can TFS be utilized as complete bug tracking system with time logging and issue managements functionality? Do you have any experiences with migration from other bug tracker to TFS? Thanks for answers cyberjoe
Last reply by cyberjoe, -
-
- Administrators
- 10 replies
- 5.6k views
Hi all. Can anyone suggest a way to find specific text in HTML document without confusing it with any HTML tags and their attributes? For instance if I want to find the word body then I can skip the <body> tag. Any help would be appreciated. I've done some reading but I can only find methods to strip HTML tag which in my case stripping HTML tag is out of question. I have to preserve the original HTML document.
Last reply by amir100, -
-
- 0 replies
- 1.4k views
Hello, I have a task to create set of reports based on data from TFS source control. I must create these reports using reporting services technology. As an example, I have a report that must count net line of code checked-in last day by specified user. What technology and approach should I take to realize this task? Is it possible to get source code data from source control directly to reports using SQL/T-SQL or need use Source control API? Had someone of you done similar task? Thanks! Wojtek
Last reply by woojtii, -
-
- Leaders
- Administrators
- 7 replies
- 1.1k views
I'm trying to seperate some of my business logic into DLLs for the first time and I'm hitting some problems. To simplify what I'm trying to do assume I have an new Visual Basic Class Library Project Named "TestApp" with a Car class(car.vb) and a tire class(tire.vb). The car class needs to use the tire class so it has a "Imports TestApp.Tire" at the top. The problem occurs when I try to compile using vbc.exe I can compile the tire class into a DLL just fine by running: vbc /t:library /out:tire.dll tire.vb but when I try to compile the car class by running: vbc /t:library /reference:tire.dll /out:car.dll car.vb I get an error "error BC30002: Type 'TestApp.…
Last reply by OnTheAnvil, -
-
- 0 replies
- 551 views
Hello, I�m looking for reports packages for Team Foundation Server, especially for reports that can provide information about TFS Build process and build code quality. For example Report that displays number of source code lines or code analysis warnings and errors. Do you know such reports for TFS? Thanks! Wojtek
Last reply by woojtii, -
- 1 reply
- 888 views
hey I have not made any progress in overiding methods of the Ms word application. Basically what am doing is loading the microsoft word application from my program. once changes have been made in that document and the user clicks on close on the ms word application, i want to have control over that method and modify it such that my application specifies the filename and location where the doc should be saved. please anyone, HEEELP. I am using VB.Net 2003
Last reply by SonicBoomAu, -
-
- Leaders
- 1 reply
- 902 views
Hello. Im using this code to add a custom control a have made. Dim AtomElement As Element() = New Element(118) {} Dim i As Integer = 1 Dim X As Integer = 10 Dim Y As Integer = 8 Dim Xpos() As Byte = {0, 0, 17, 0, 1, 12, 13, 14, 15, 16, 17, 0, 1, 12, 13, 14, 15, 16, 17, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16} Dim Ypos() As D…
Last reply by snarfblam, -
-
- 0 replies
- 644 views
I wrote a simple encryption class to handle encrypting strings and byte arrays. Everything works perfectly in Windows XP and Windows 2000, but I get the following error in Windows 98: Byte array is too large. The maximum size byte array that can be encrypted by this public key implementation is 16 bytes. I am getting this error in the following code public static byte[] RSAEncrypt(byte[] DataToEncrypt, string key_file) { // Encryption is done using the public key. try { System.Windows.Forms.MessageBox.Show("Creating " + "RSACryptoServiceProvider."); // Create a new instance of RSACryptoServiceProvider RSACryptoServiceProvider RSA = new RSACryptoServiceProv…
Last reply by grip003, -
- 2 replies
- 1.6k views
I have created an application that generates files as it is used. I want the uninstall program to completely remove these as well as the rest of the program. Right now, when the user uninstalls my app, it leaves the install directory along with all generated files. Is there a way to remove the entire install directory without worrying about generated files that were not included with the install package? I am using the Setup and Deployment that comes with VS2003.
Last reply by mskeel, -
- 0 replies
- 907 views
Hello, Does anyone know if Visual Basic .NET 2005 offers support for OCR (optical character recognition) ? Has anyone done anything like this using vb net's classes and not third party software? If i remember correctly Office Imaging had OCR and I thought that maybe there would be some support in vb .net for it. Thanks
Last reply by Puiu, -
- 1 reply
- 4.1k views
OK I'm writing a program for an sms messaging company. Basically the program takes in XML files, (either sent in by email, or generated by an http post to the server). The server processes the xml files and sends them off to the sms provider using a 3rd party API. The server is hosted on the mail server used to recieve the messages, so Instead of recieveing the mail via pop3 or IMAP i can just lift it straight out of the mail server's folder. The emails are stored as eml files, and as far as i can tell the attachments are in base 64 My problem is that i cannot figure out a way of extracting the xml files from the emails. The xml files themselves are sent in wit…
Last reply by MrPaul, -
-
- *Experts*
- 1 reply
- 881 views
He Everybody. This is the first time I am going to use VS.Net (2003) to create a simple app with data, using MSAccess as the back-end and used drag-and-drop with the data objects. I created the project. Dropped-in a TABLE I found in the Server Explorer, follow the wizard. Fill a datatable with the OleDBDataAdapter object. Add a DataGrid, set the DataSource property to the Datatable(using code). Now I add the "Save Button", how would I go about saving the changes typed into the DataGrid? All inputs will be greatly appreciated.
Last reply by Nerseus, -
-
DLL Registration
by Guest -OniKaze--
- Leaders
- 5 replies
- 842 views
Hello all, i'm facing a terrible dificulty and i really need some guid... i'm trying to register a dll but the postbuild event on the properties of my project is set as regedt32 /s/c "$(TargetPath)" is performing an error during the registration process...the message is: regedt32 is not regognized as an internal or external comand..., i allready tryied regsrv32, regedit but they all pop the same error message :( , any1 knows how to solve this issue? tnx very much
Last reply by snarfblam, -
-
-
- Leaders
- 12 replies
- 2k views
Hi, Is there a function in VB that get a string and removes the empty spaces only at left and right of the string? I mean just remove the spaces at first and end of string? Thanks:)
Last reply by snarfblam, -
-
Who's Online 0 Members, 0 Anonymous, 57 Guests (See full list)
- There are no registered users currently online