Topics
-
- 1 reply
- 867 views
We will be performing a large ETL on a night basis starting in the next month or so. The job will collect data from a database in or main office, and then transfer that data to a hosted database server located in another part of the country. We have been assured by the infrastructure team that the network connection between both locations is secure and has been encrypted. Do I need to worry about encrypting the data transfered during the ETL, or is it even possible to do so? Mike55.
Last reply by Nate Bross, -
- 2 replies
- 3k views
I have a windows application in C#.net.In my application there is a xml file which is updated on every 30 seconds by the application automatically.I don't want the external user to update or tamper the xml file.So how can I Protect the xml file so that other users can not read or update the xml file. Help me. Thanks in advance.
Last reply by Nate Bross, -
-
- Administrators
- 2 replies
- 4.4k views
I am trying to find a way to introduce a NEW LINE into a string I am setting for the text of a label, specifically I want the label to span 3 lines... I've tried using "\n" but it doesn't seem to work at all, this is my current code... lblAddress.Text = province.ToString() + " - " + city.ToString() + " - " + address.ToString() + " - " + postal_code.ToString(); [/Code] What I want to do is set the ADDRESS on another line and the POSTAL_CODE on another line so that the text of the label spans 3 lines, something like the following: Ontario Toronto 123 Mission Street D4C 4D4 [Code] lblAddress.Text = province.ToString() + " - " + city.ToString() + "\…
Last reply by mandelbrot, -
-
-
- Administrators
- 1 reply
- 922 views
Hi all. I'm not sure on where to post this but since I'm using VWD so I'm guessing this is the place to post my question. Anyways, here are my questions/concerns: 1. I have this drop down box with 3 items on it, lets say if i click item 'A' in the drop down box. an image beside (outside the dropdownbox) will appear. how do I do it on c#? (I can code stuffs on VWD using c# right?) 2. Do I need a database for it? Or just a folder located inside my project? Im guessing this has to do with dragging dropdownlist and image from the toolbox to the form/webpage... I have no idea on how to use c# yet so I just need the ones I mentioned for now. And I can make the …
Last reply by PlausiblyDamp, -
-
- 1 reply
- 1k views
Hello, I am using VB.NET 2008 with .NET Framework 2.0. Right now I have a string taken from an HTML page that I have to parse. But I am facing critical problems and really need an expert help :( The string is an IMAGE string, it shows the location and other properties of an IMAGE in an HTML page. It can be in any of these formats: <P><IMG alt="" hspace=0 src="E:\untitled.bmp" align=baseline border=0></P> <P><IMG alt=sometext hspace=0 src="E:\untitled.bmp" align=baseline border=0></P> <P><IMG alt="some text" hspace=0 src="E:\untitled.bmp" align=baseline border=0></P> <P><IMG alt="some text" hspace=2 …
Last reply by OMID SOFT, -
- 1 reply
- 841 views
Can anyone point me to a solution, or tool for exracting data from a PDF file. The file has not been flattened, meaning I can highlight all of the text and the copy and paste the text to another file. pull out the data and evaluate it. Is this possible?
Last reply by OMID SOFT, -
-
- Administrators
- 1 reply
- 3.1k views
Hi Team, I'm trying to trigger an event in Visual Basic 2008 Express and have Flash 8 react to the event. The best information I've found so far is a discussion about Flash 8 and C# at this location: http://osflash.org/pipermail/osflash_osflash.org/2005-August/002274.html Supposedly the Flash 8 side looks like this: // expose a method "activeStateChange" to the container ExternalInterface.addCallback("callMeFromVB", this, onCalled); I've set up a function in Flash named callMeFromVB. I'm having trouble getting the Visual Basic 2008 side right It seems that it should be just this simple... AxShockwaveFlash1.CallFunction("callMeFromVB") (...AxShockwav…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 1.6k views
Hello! I am developing and maintaining a large .NET 2.0 application for a customer, and we are migrating the application to their data center. It has been working very well on the SQL Server 2005 installation, but it is being moved to the corporate data center, and they do not use the standard SQL port (1433) due to a previous virus attack. How do I specify the actual SQL port used for connections in an ASP connection string? I tried putting "port=" in the connection string, but I was told that the keyword was not supported. Here is the connection string in the web.config file: <add name="CustConnectionString" connectionString="Data Source=custSQLServe…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 2 replies
- 1.8k views
Hi, I am looking for a way to stop / interrupt the execution of a subroutine on a form, based on an even that fires. So basically: 1. User clicks on a button. 2. Button calls a function or subroutine. 3. Event fires on the form. 4. Event stops the execution of the function or subroutine regardless of the stage of the execution the routine is in. 5. The form does NOT close and the data in controls on the form as well as instances of initialized objects remain. Can anyone think of a way to do this? Maybe using some sort of a signal interrrupt or signal handling? Thanks, Pete
Last reply by digioz, -
-
-
- Administrators
- 1 reply
- 1.3k views
Hi all, Is it possible to create a new .jpg file from 2 colors that a user selects in a WinForms app? What I want to do is give the user an option to select 2 colors using a colorpicker. When they click "save", I want to create a new 1px wide by 1050px high gradient style image to be used as a webpage background, and save it so that it can be uploaded to a web server via FTP. The uploading I can handle, but I need to know if there's a way to create the image file. Thanks in advance, -Chris
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 2 replies
- 1.4k views
I have a page [default.aspx] which associated code-behind [default.aspx.cs]. In my default.aspx page I am using the ASP.NET Login Control and want to be able to manage the authentication event myself by doing the following: <asp:login id="Login1" OnAuthenticate="OnAuthenticate" runat="server"> In the code-behind [default.aspx.cs] I have added the following function within (public partial class Default_aspx : System.Web.UI.Page {...}) private void OnAuthenticate(object sender, AuthenticateEventArgs e) { string sUser = Login1.UserName; string sPwrd = Login1.Password; PerformCustomerAuthentication(sUser, sPwrd); } [/Code] However thi…
Last reply by Shaitan00, -
-
-
- Administrators
- 1 reply
- 946 views
I've got a List of objects that I need to sort. There's a variety of criteria for the order that I want to sort them into, and for some of them I simply want the existing order to be maintained. For these objects I have no other record of their appropriate order than the order they are contained in in the List, and I want to preserve this. To sort them it seems sensible to use a class implementing IComparer, but the problem is, if I just return 0 for these items that I don't want sorting, they get sorted anyway (I'm not quite sure in accordance with what). So I've solved the problem by making a copy of the List before I do the sort and looking at the position of items in …
Last reply by PlausiblyDamp, -
-
- 0 replies
- 775 views
I am encountering an odd issue where no matter what data I query from my MySQL database via ASP.NET [2005] I always get back a count of 0... To start off, I open the MySQL 5.1 Command Line Client, enter my password ("pass") and then select my database (USE bank;). From here I do a the following query: SELECT * FROM employees; And it returns 18 rows of results (as expected). Now in my application (for which I installed the "MySQL Connector Net 5.1.6" which should work with ASP.NET 2005 right?) I added the reference and code (as seen below) to try and mimic the exact same thing as I did manually above. However in this case the result (count of dataset ds) is alwa…
Last reply by Shaitan00, -
- 0 replies
- 1.6k views
Have a master page, need to inherit from a class(Core.vb) which store in "App_Code", inside the class file have many variable are declared and functions etc. In the master page, I have set CodeFileBaseClass = "Core" <%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" CodeFileBaseClass="Core" %> But I get Could not load type 'Core' error Anyone could help me?
Last reply by calvin, -
- 0 replies
- 849 views
I'm working with vb.net 2005, Business Applications, a SQL Server report. In my report I have parameters that are multi-valued - this option can be set in the Report Parameters box. When the client goes to run the report, the drop down list for the multi-value parameter is a series of check boxes. I think this is pretty handy - except I can't get it to work in my stored procedure. If I pass in just one value, it works. If I pass in more than one value, it doesn't. The error message I get is 'Conversion failed when converting the nvarchar value '305,353' to data type int. This is my stored procedure: [highlight=sql] CREATE PROCEDURE [dbo].[spTenderReport] @…
Last reply by lauriemc, -
- 0 replies
- 3.6k views
Hi all, I've got a Windows Service that simple writes a record to a database whenever the callback of the timer is triggered (see code below). The strange thing is that after a while the timer callback isn't called anymore (I usually get 10 records in the database). Any ideas? Public Class Service1 #Region " Own Functions And Procedures " Private Function Insert_Event(ByVal pEvent As String, ByVal pChanged As DateTime) As Boolean Try Dim db As New dsAutoServiceTableAdapters.sp_event_insertTableAdapter db.GetData(pEvent, pChanged) db = Nothing Return True Catch ex As Exception Dim strError …
Last reply by Thei, -
- 6 replies
- 2.3k views
Since I am fairly new to this forum I could not post this to the Code Library. I posted it on Extreme VB talk and thought someone here may find it of use also. This is a simple class to encode and decode lines of text. I find it very usefull to keep prying eyes from data (as long as true security is not an issue) such as file locations and specific program data that I save to data files. While the Encoding is simple and can be broken there are steps that make it harder. Such as using a different key for each encoded line. This helps hide the method used and adds complexity to the process of trying to break it. However, I want to make it plain that this does not pro…
Last reply by roger_wgnr, -
- 1 reply
- 3.8k views
I want to have individual tool tips on my tree nodes in a TreeView. Using the following works great: treeServers.Nodes[0].ToolTipText = "tool tip"; [/Code] However, I want to have a delay before the tool tip appears (similar to System.Windows.Forms.ToolTip and .AutoPopupDelay), but I can't figure out how to implement it. Any ideas would be welcomed. I'm using VS 2008 and C#.Net 2.0
Last reply by roger_wgnr, -
-
- Administrators
- 3 replies
- 2.8k views
windowsapplication1.vshost.exe- application error the instruction at "0x67f5d899" referenced memory at "0x00000004". the memory could not be "read".click OK to terminate the program -this error is coming after 15mins of running my vb.net program - i am using modi ocr tool in a do....loop -i application is designed in vb.net. - i have also checked my ram for errors. -average cpu usage is abt 50 % what can be the reason for this problem..... i am not able to get as to where the problem is because the application is terminated after 15 mins. i u require i can give u the coding. A lot of thanks! good day
Last reply by PlausiblyDamp, -
-
- 2 replies
- 1.2k views
I am trying to add a record to my access database for the application I am building. I can connect and display data from the DB but when use my code to add a row I get this error. "Syntax error in INSERT INTO statement." My ID row is auto incrementing this might be the problem. The code I using is posted below. Thanks for your help. ZeroEffect Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click Dim cb As New OleDb.OleDbCommandBuilder(daEvents) Dim dsNewRow As DataRow dsNewRow = dsEvents.Tables("events").NewRow() dsNewRow.Item("ID") = vbNull 'This is Auto incrementing in Acces…
Last reply by ZeroEffect,
-
Who's Online 0 Members, 0 Anonymous, 43 Guests (See full list)
- There are no registered users currently online