- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
28 Posted Topics
Hi, I would like to know how to merge 2 daniweb accounts because there was a time I accidentally created a new account (Username: samuel1991) via Facebook which used a slightly different email address (samuel_lee_1991@qq.com) from my main email address (samuel_lee_1991@hotmail.com) used in Daniweb. TYVM | |
Hi, I need to use query to check if a person has made a purchase during the month of his / her birthday. If yes, I have to give the person 10% discount. So, I have my database as such (Some of the tables are omitted due to its relavancy): … | |
Re: [code] Private Sub DateTimePicker1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateTimePicker1.ValueChanged Dim Age As Double = Math.Floor(DateDiff(DateInterval.Month, DateTimePicker1.Value, System.DateTime.Now) / 12) TextBox1.Text = "Your age is: " & Age End Sub [/code] | |
Ever since the "disatrous" Adobe Encore (CS4 and 5 does not matter)'s way of storing the installation directory details in Sqlite database file and some uninstall string in the registry, I would like to create dll to get the install directory from Sqlite database as per recommended by the Inno … | |
Re: VB.NET has nothing to do with installer. You can choose which installer you like such as: NSIS (Public Domain) -- EXE installer Inno Setup (Freeware, but not public domain) -- EXE installer InstallShield (Commerical) -- MSI installer ---- and many others paid solutions as well You have to decide which … | |
Re: Ok, your code has nothing to do with updating records into 2 different database. What I would like to know is: A: Update a record into 2 different database, because the other one is essentially a backup database. B: Update a record into only 1 database, but there are 2 … | |
Re: Are they stored in Database? By the way, if all subjects are more than 90, then the average must be more than 90. So, you might as well as checking for each grade's subject, something like: [code] Dim Marks As Integer = 100 For i As integer = 0 To … | |
Re: It might have to do with your database design. You can always put a few columns in a table as "unique", like "VoterID","CandidateID" as unique, so that the Candidate of an area / a post can receive many votes from many voters (Because a voter 1 votes for Candidate A … | |
Re: I am afraid that, you have to call that function / subroutine for database thing again. | |
Re: Well, I would use [code] Dim AllContent As String() = File.ReadAllLines(path to your file) For i As integer = 0 To AllContent.Length - 1 dbCommand.CommandText="insert into Table(ColumnName) Values (" & AllContent.GetValue(i) & ")" dbConn.Open() dbCommand.ExecuteNonQuery() dbConn.Close() 'I assume you have the sql connection ready. Next [/code] | |
Hi, as I am using Inno Setup to do the installer job, which requires a dll to check for installation path (Please refer to a previous thread: [URL="http://www.daniweb.com/forums/thread310549.html"]http://www.daniweb.com/forums/thread310549.html[/URL]), only to find out that [I][URL="http://news.jrsoftware.org/read/article.php?id=24737&group=jrsoftware.innosetup.code#24737"]VB.NET DLLs are .NET managed code. The DLL import feature of Inno can only talk to native … | |
Re: 1: You did not bind the datagridview [code] dg1.DataSource = GetData() dg1.DataBind() [/code] 2: Check if you got any exceptions thrown or not. | |
Re: [QUOTE=Dorayaki;1330556]Hello, I'm just looking for an answer or idea. I plan to connect vb.net to mysql (which is done) and also the PHP connected to the mysql. But I'm confuse with something. VB.NET is use for offline things (which people will come to store and buy), but PHP is buying … | |
Hi, I would like to know how to write a "Console application" in dll form for a patch installer so that I could call it from the installers and find out the installation of a program. I have created a VB.NET class project and checked the COM Interoperation or sort … | |
Hi, I got a question on how to convert SMS PDU code in a VB.NET application. All I need is just a function to convert a given PDU code. Well, I have googled for it, and this is what I got: Source: [URL="http://www.rednaxela.net/pdu.php"]http://www.rednaxela.net/pdu.php[/URL], [URL="http://www.codeproject.com/KB/IP/PDUDecoder.aspx?msg=934853"]http://www.codeproject.com/KB/IP/PDUDecoder.aspx?msg=934853[/URL] But I got an issue: If … | |
Hi, I got a question to check if a date time is within another date range (So as to check conflicting schedule) There are various possible types of schedule: 1: One time start - end event. Typically such schedules is like a tour / outing / camp event, and hence … | |
Hi, I am creating a forum which has 2 linkbuttons in [I]each gridview row[/I] that shows each posts. One is edit and the other is reply. I intended to have 2 different actions when the button is clicked. The problem is, I can only click either of them once. Subsequent … | |
Hi, I found myself a difficulty on creating a image uploader to my database. This is because in .NET CF, I cant find File Upload control. Is there any other options and how should I do it? I know there is a OpenFileControl but there is a problem on saving … | |
Hi, I am using datagrid to show my products. The products have a image and I should show it. Problem is, datagrid is only text and there was some reference on creating custom columns but I still dont quite understand (Mostly are custom url columns). Any help please, thank you! | |
Hi I have a ASP.Net code below that need to query with MS SQL database. [code] "select SUM(ShopCartItem.Price-OfferedPrice) As Discount from ShopCartItem " & _ "Inner Join Product " & _ "On ShopCartItem.ProductID = Product.ProductID " & _ "Where(ShopCartItem.ShopCartID = @ShopCartID) And ShopCartItem.ProductID != @ProductID" [/code] The MS SQL query … | |
Hi, I am currently doing an advanced search of a product. It is such varies into 3 categories: Product Title / Description, Price and Product Specifications I have called 3 datasets to check on each of these categories. Now, for reason, when I merge these 3 dataset [code] dsPrice.Merge(dsKeyword) 'Then … | |
Hi, I have a 3 tables needed to be inner join before I got a full details of a transaction history (What item, shipment details, quantity, who bought it etc). The involved tables are ShopCart,ShopCartItem and OrderData ShopCart: [code] CREATE TABLE dbo.ShopCart ( ShopCartID int IDENTITY (1,1), ShopperID int NOT … | |
With regards to another thread, [url]http://www.daniweb.com/forums/thread251069.html[/url] on how to compare the current date to retrieve relevant data (Details there), now I have issue on storing this query result on a VB.net variable. It works in this way. It is an academic work to do a ecommerce website, and I need … | |
Re: What if ReactOS is ready to beta in 2014? | |
Hi everyone, I have a problem in MS SQL. Due to academic nature, I am supposed to use a query to find out the present applicable tax rate (GST, Good & Sales Tax) without altering the table. The table has 3 tax rates, 1: WEF (With Effect From) 2004 Jan … | |
Hi, I need to create a login program where it reads / writes to that file. It must first detect if the file present or not. If yes, it should not overwrite this file, else, it will have to create a default configuration file containing [i]Username[/i],[i]Password[/i] & [i]User Group[/i]. PS: … | |
Hi everyone, I am trying figure out is there a "more proper" way to show the multiple lowest values in an array. My array has 2 of the values that are lowest among the 8 values. I would like to know is there a way to show both of them … |
The End.