- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
65 Posted Topics
I deployed a web service in a server for sending email and this is the code of it. <WebMethod()> _ Public Function SendEmailSMTPAtt(ByVal objMail As clsEmail) As String Dim strReturn As String = "" Dim mailMsg As New MailMessage With mailMsg .From = objMail.Mailfrom .To = objMail.MailTo If objMail.Mailcc <> … | |
I’m going to use main report and sub report for showing some details. Main report has InvoiceHeader Part and sub report has invoice detail part. Invoice Header and invoice detail has 2 SPs. SP_InvoiceHeader (Use for main report) ALTER PROCEDURE [dbo].[testSP1] @invnoH as varchar(20) AS BEGIN SELECT * FROM INV_HEADER … | |
I use this code for call JS function from codebehind. This is button click event. ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "myfunction", "testFunc();", true); This is the code of JS. function testFunc() { //alert("msg"); document.getElementById("Text1").value = "value change"; //Text1 is html a text box } It's not change the value of the text box. … | |
I'm tring to move html element on run time. (1) Call function from code behind. (Button1_Click1 event) ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "myfunction", "testFunc(100,200);", true); (2) It redirect to JS function. (This function is used to change the location of html attribute) function testFunc(x,y) { document.getElementById('draggable').style.top = x; document.getElementById('draggable').style.left = y; } in … | |
First of all I should have to say that I do have a good knowledge in C# and but not much knowledge in JS and Jquery. I’m going to develop a web application which can see a specific location of a building (conference room, manager’s room) graphically. It is used … | |
I'm a beginner in MVC application development. I'm just trying to make a MVC application getting help from internet. That was a simple example and working properly. The article is said the database is in app_data folder. But actually there is no any database in that folder. Then I just … | |
I have datatable and it has two columns named "RegNo", "Name" RegNo is a string field. This is an example "RegNo" "Name" ====== ===== 55 name1 10 name2 5555 name3 75 name4 10A name5 i used this code for sort datatable.DefaultView.Sort = "RegNo ASC" But after sort the RegNo column … | |
My OS is windows 7. When I connect my internet dongle to the computer is it updating something. (Without opening any browser it is increasing amount of data received.) I unchecked all programes except system32 using MSCONFIG --> startup. But Still has the problem. So how to see which programe … | |
I want to call jquery function (or something like that) from vb code. This is what i need. There is a VB function named Calculation(). It takes few seconds to complete the calculation. (Let's get it is taken 10 Seconds) In this 10 seconds the user don't know something is … | |
I'm developing an application using ASP.NET + VB.NET. There is a main page and a pop up window. When Click button in main page it is shown pop up and we can add customer details (Name, address, telephone etc..) after click OK in pop up window, It should be closed … ![]() | |
I'm developing a web appication using ASP.NET and VB.NET. In my application im using ajax control tool kit. this is what happned to me... I load data to my AJAX combo box. But when it dropped down, there is a gap between combo box and dropped down list. I search … | |
I'm bit new to C#. I just want to change the start up form in my project. (This is a windows form application). There is a field named with STARTUP OBJECT and a dropdownlist in Project properties. But my problem is I have created few forms in my project and … | |
I want to bind database value to combo box in C# windows form. I know this is a common problem for begginers. I search in the internet about this. Acoording to that I modified my code. But my problem is, it is not raised any error message and data not … | |
I want to change form1 textbox1 text from from2 variable. This is the flow. 1. Show form1 2. click button in form1 3. then show form2 (form1 do not hide. It is still visible) 4. click button in form2 (form2 has variable and it set to form1 text box and … | |
Actually this is a common problem for all who work with php mail function. Before I start this new thread, search for 2 days a proper/correct solution for my probem. But i couldn't find of any. When I send email through my web site, It is sent as spam to … | |
I'm bit new to C#. I just want to change the start up form in my project. (This is a windows form application). There is a field named with STARTUP OBJECT and a dropdownlist in Project properties. But my problem is I have created few forms in my project and … | |
I developed a web application using ASP.net. It was used AjaxToolkit 3.5. The program is mainly use <asp:ToolkitScriptManger> and <asp:UpdatePanel>. With Visual Studio 2005, It is working well. (I just mean with source code) Then I deploy it and host in wwwroot. But then it is not working well. There … | |
I faced to a huge problem when i coding some stored procedure. How to combine some string to sql string in stored procedure??? This is what i did upto now. @WhereCondition = ' WHERE id = 102 ' DECLARE recoredSet CURSOR FOR SELECT SUM(Amount) as AmountSum FROM sale + @WhereCondition … | |
I'm Developing application using ASP.NET and VB.NET. It is used Ajax controls as well. I added dropdownlist (Standard controller) and databind to it. It is working well. But if i added Ajax combo box, it is not working. (It means data not filling to combobox) No any errors showing. This … | |
Im developing application using ASP.net + VB.net Now i want to change column width at run time. But in run time it doesn't work. This is what i did up to now. data bind in form load like this. myGrid.datasource = myDataSet.table(0) myGrid.databind() In here dataset come properly. in grid … | |
I developed a software using VB.net. (With VS 2008 Professional edition) The Project has Crystal reports in a folder. I want to make a setup exe with that folder. there are few videos in youtube for this. But I couldnt find any form or video that adding folder to the … | |
This is my SP code SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE SP_Get_Age @name varchar(20) AS BEGIN SET NOCOUNT ON; SELECT Age FROM PersonDetails WHERE Name1 = @name; END GO This is my C# code private void callSP(string name1)//name1 comes properly in button click event { using … | |
This is my code. $arrivDate = $_POST['arrival_date']; echo $arrivDate; //Print correctly echo date("Y/m/d", strtotime($arrivDate)) ; // every time print 1969/12/31 echo date("Y/m/d", strtotime('.$arrivDate.')) ; // every time print 1969/12/31 but if i put like this, it is print correctly echo date("Y/m/d", strtotime("05/08/2019")); // Print like this --> 2019/08/05 (This is … ![]() | |
I hosted a web site. (Still developing and adding component to it) It was working well until today evining. But now it is not working well. some JS not working. I have back ups. (Every time i got back ups in working versions). I thought this happen due to my … | |
I want to pass a combo box value from url in php. I have no idea how to do it. I just try like this. This my combo box html code. <select id="ID1" name="place" > <option value="Colombo" selected="selected">Colombo</option> <option value="Matara">Matara</option> <option value="Galle">Galle</option> </select> //What i want is pass selected value … | |
My DVD rom is not working. In that case now i want to install windows 7 to the computer. If i have image of win7 DVD in pen dirve, Is there any method to do it with pen drive. Please help me to do this. Must i have a DVD … | |
Im creating ASP.NET project. There is a gridview. in grid it has a hyperlinked column named with "select" when I click "select", i want to get row data. Most of the web sites have a lot of code about this. But I feel there must be a very simple method … | |
I'm bit new to C#. This is my code. When i click edit button in grid, it should be update the database. But now it is not update the database from this code. The database has original value after editing. after click edit button, it is shown a message box … | |
This my code in button click event. I want to add dynamic text boxes. It is focused to line no 7 and show "Object reference not set to an instance of an object." Dim txtBx() As TextBox Static x As Integer Static i As Integer x = x + 20 … | |
I wanna just a beginning for my coding. (The application running with VB.NET and SQL server) I did this code and it not shown any error. After this process it is displayed the message "Successfully updated". But data is not update on the table. Please tell me, how to update … | |
Re: Most probably the problem is in your power button. you can do this. Remove the wires from the button. then plug to the A\C current. After that just short that 2 wires for 1 second and keep it separately after shorting. If not start the computer just check that wire. … | |
I'm bit new to SQL server Express edition. I'v create few databases using sql server management studio. (always i login as windows authentication mode). Those databases are working properly with VB.net. In those databases i've never used username and passwords. But now i want to login as 'SQL Server authentication' … | |
There are 2 servers. (I named those 2 servers in this post as "server1" and "server2". Those 2 servers are link together via VPN) i want to backup server1 data to server2. This should be done automatically in every day in some fix time. I know how to back up … | |
Hi, My OS is Windows Vista. I'm using HSDPA dongle for connecting internet. After i connected to the internet, it is automatically increasing usage meter even without opening the browser. (Amount of "Received data" is increasing which means there some programs/softwares are updating automatically.) how am i find that which … | |
Re: #include <time.h> in your int main(), type this double differ; // declare variable differ = difftime (end_time,start_time); This might help you | |
Here is a example for my work. if a date ---> 20/03/2012 should be shown as 01/04/2012 16/12/2011 Should be shown as 01/01/2012 02/05/2008 Should be shown as 01/06/2012 My requirement is to get a given date as 1st of next month. I know to do this with IF conditions. … | |
This post about J2ME in Netbeans. Actually I'm new to mobile development and so interest to learn it. I want to create a jar file and should be attached database to it. (Netbeans has built in database creating facility, which i want to use) There are a lot of codes … | |
I tried to install a instance using this youtube video.(http://www.youtube.com/watch?v=d9ozlxbRJLo) But this error occurred. (SQL Server Browser service group does not exists. Check for earlier failures in the setup) HOW TO FIX THIS ERROR....? Server : SQL server enterprise edition 2008. | |
I have installed new instance. While installing, it is occurred an error like this. (SQL Server Browser service group does not exists. Check for earlier failures in the setup.) In the end of the installation, it is shown sql server installed with failures. In "Services", it is displayed the instance … | |
I’ve developed a VB application. Now I want to disabled resizing the form. I know there is a property “Border style”, which changes to fixed single, can do my work. But I want minimize button to my form. Minimize button is only in “Sizable” mode. I changed another property “MaxButton” … | |
*There is no any specific area to add this problem of mine. Thats why i add this in to windows server area.* **This is a SQL problem.** I want to combine 2 columns in to one column (2 columns are in 2 tables). There are a lot of codes in … | |
Re: It is better to give a proper name to text boxes and post a neat code (your if conditions are not clear). because reader cant understand what you have done. Are you sure QTY value pass to the VB form? if yes, close record set at last. (Write rs.close() in … | |
Re: Actually i dont know very well MySQL. But i can give you MSSQL string. Basically you want to get customers' name who are in a particular city? SELECT coustomerName FROM customers Where city = " & citytxt.Text & " | |
I know how to attach image file to an exe. we can do it using picture box or image tool and picture property of it. now i want to know is there any method to attach mp3 file to an exe? we can use application path method. but in that … | |
I want to stretch an image in picturebox. Is there any property to do it? In VB.NET there is is a property called "size mode". we can change that property to "stretch image". still i couldn't find VB6 property to do it. Please tell me the property or if there … | |
Re: This is just like an article. how ever I've learn some thing from this "Article". My computer also restarting. As i guess there may be a PU problem. thanks for your article and i will check my computer after going home. (Now I'm in the office) :) Thanks for the … | |
I know how to create a setup file. We know that vb.net exe will run under .Netframe work. but most of the computers haven't .Netframe work. So i want to include .Netframe work to the setup file and it should be auto install when installing my software. Please tell me … | |
I'm using P5GC-MX 1333 Asus motherboard. The place where i purchased it, they told me highest capacity of RAM can be used is 3 GB. Now i want to upgrade the RAM and bit fear to buy a new 2 GB RAM (Current i have 2GB RAM). Is it true … | |
I got my computer 4 years ago. (Core 2 duo, Asus MB, Kingston 1GB RAM). Now my computer is restarting after few minuts without giving any error message. I have already installed 2 OSes. (Windows XP, Windows Vista). When i was working in XP, it was restarted. When i was … | |
Re: Just copy and paste this code to KEY UP and KEY DOWN event as well. |
The End.