4,457 Topics
![]() | |
This tutorial is designed to get someone started with D that hasn't used it yet, it assumes you have some type of programming experience. # What is D? # In one sentence (from [dlang.org](http://dlang.org)) *"D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and … | |
hello friends I am trying to convert a vb.net datagridview code into asp.net. I want to display last three rows of table column from database table in gridview column1. Dim dt As New DataTable ' Create columns dt.Columns.Add("column1", Type.GetType("System.String")) dt.Columns.Add("column2", Type.GetType("System.String")) dt.Columns.Add("column3", Type.GetType("System.String")) dt.Columns("column3").Expression = "[column1]+[column2]" dt.Rows.Add("", "") dt.Rows.Add("", "") … | |
File I/O With C++ Fstream **Intro** File handling is as simple as writing in a book, much easier to modify and find. It's so simple people get confused with it :-). Welcome to the world of file handling. We will use the c++ fstream classes to do our file handling. … | |
Hi everybody, I'd like to ask you if there are some ways how to protect .NET exe and dlls against decompilation. [B]I am not interested in any form of obfuscation[/B], only methods based on (or equivalent to) compiling traditional compilers to machine language. There doesn't matter if commercial or open … | |
Morning all, I have some code which says if a text box is empty show a msgbox asking user to input data into this textfield. i then want only an O.K button to show on the msgbox but then no to continue with the sub. [CODE] If Me.txtLine2Rcon.Text = "" … | |
Hi Team, I'm stuck with my code and I found out this snippet to save(Export) an Excel file to **D:**. However, I would like to give a User an option to save it according to his/her necessity. Please find the Code Snippet below: Private Sub Button1_Click(sender As Object, e As … | |
Hi! Few days ago, I had learned C language. It took me almost 8 to 10 months to learn the whole language. Now I wanna want to make real world applications using it. I'm an Ubuntu user or more generally a Linux user. The point to ponder is that I … | |
Hello everyone!!!! Good Day ... I am having trouble on how to retrieve 2 fields of every tables in my Database .... I have 3 Tables saved in my MS Access, namely: RegularPassenger, DisablePassenger, and VIPPassenger ... and every tables has 2 fields each, which are SeatsNo and Filled .... … | |
I am getting following error, while passing a C++ string variable to SQL insert command: error C2679: binary '+' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion) Below is the code: int main() { int empid = 12; int phone … | |
Hello everyone, here i am again, asking for help .... please bear with me, I am a newbie of VB .... ahmmmm I just wanna ask if what codes is appropriate in holding the value that the user choose or select after clicking the ENTER Button? the scenario is this: … | |
Hi all, nothing happen when i download file Everything looks fine when i debug code.. there is no error protected void DataList1_ItemCommand(object source, DataListCommandEventArgs e) { int ID = Convert.ToInt32(e.CommandArgument); if (((LinkButton)e.CommandSource).Text == "View") { Response.Redirect("~/Detail.aspx?id=" + ID ); } else { GetFile(ID); } } public void GetFile(int ID) { … | |
I have an Access Database on which I have tables with similar structure and columns name columnA and columnB.I can use the below query on tables created design time to get this output. Table | result -------|-------- SELECT "Table1" AS Table, SUM(a) - SUM(b) AS Result FROM table1 UNION SELECT … | |
I am trying to show data on datagridview but error occurs Form1.vb code is as below Imports System.Data Imports System.Data.Sql Imports System.Data.SqlClient Imports System.Data.SqlClient.SqlDataReader Imports System.String Imports System.Configuration Imports System.ComponentModel Public Class Form1 Dim con As SqlConnection Dim cmd As SqlCommand Dim dr As SqlDataReader Dim da As SqlDataAdapter Public … | |
Hi Team, I understand that there are numerous number of Articles with the following Title and I should have gone through them before posting but believe me, I've done it all. Either way, I'm not getting to a solution. Hope I get some help here.. # So Here is the … | |
Hello everyone, I am putting together a project where people are able to upload multiple choice questions to a larger database and then create tests from them. I have several questions (and I apologize for the length of this post) about what is the best way to go about doing … ![]() | |
hi i am doing a project for my final year on implementation of vpn over openwrt firmware but i am confused on how to start help me with this. | |
I have a app, that requires login with SQL server as backend. I have users who are on laptops and not always connected to the network. I want a way to check for the SQL server, and if it does not exist then roll over to local auth for local … | |
Hi All, Is GitHub the "gold standard" for finding open source scripts online for people to use in their own development? Where else do people look? Thanks, Tubs | |
Hi all First of all I wana tell about my self,, im not a good coder you can say im newbie. I have a problem with jQuery autocomplete. I want to dispaly images in autocomplete. Image path save in DB and physically every image is in different folder. I have … | |
Hi, I want to convert my word file to pdf file in vb6. source code will be appreciated. so far, i have tried with below code also. Private Sub Convert_WordDoc_to_PDF(DocPath As String, sDestsPDFFile As String) 'Dim worddoc As New Word.Application Dim worddoc As Object Set worddoc = CreateObject("Word.Application") Dim x … | |
I am using PhoneGap Build to build an iOS v7.1+ application and using [weinre][1] to debug. I am using the media-capture plugin and file API to capture a video in an attempt get its base64 representation. I can get the video recorder to open, take a video, and return the … | |
Hello everyone.. I have a open source remote file upload script. It is called file snatcher. We can directly upload the files to our server from another server. But the problem is we can upload only one file at a time. I mean if you have many url, you have … | |
Hi. I have here a script which I had acquired from the net. I have tested it in a lab environment and it seems to accomplish my task perfectly. That being- to list each server in the domain, its services and the account the service runs under. Problem is- I … | |
I'm somewhat new to deploying ClickOnce manifests, first off. I know the basics of how to publish to an app server, which then lets every use the newest version (after setting to check for updates before running the application). We have multiple VB.Net applications stored on our app server, that … | |
I am exporting data from excel and show it in gridview and when I click submit, it needs to be updated in existing table. Below is my excel data S.No. RequestID Subdivision No Parcel No CUID Status Remarks 1 5 42 55 55 Open Pending I have successfully exported and … | |
I have vb.net application with MS access database. I use following code to autocomplete textbox from database. the problem is that, although its working but more frequently it gives an error "AccessViolationException was unhandled----Attempted to read or write protected memory. This is often an indication that other memory is corrupt." … | |
Now I am trying to include apriori algorithm in my website -shopping cart - and I choose php array and mysql to do that . I think my code gonna be complicated and not as fast as I wish especially in real time , Is there any suggestion or open … | |
I have insert gridview datas into database using checkbox checked. My prob is when datas present in database checkbox should be checked. DataTable dt = new DataTable(); dt.Columns.AddRange(new DataColumn[2] { new DataColumn("adminname"), new DataColumn("projectname") }); for (int i = 0; i <= GridView1.Rows.Count - 1; i++) { GridViewRow row = … | |
I want to export the excel data and show it in gridview. And I want to update the existing table i sql using Gridview data Below is my code for exporting from Excel protected void btnUpload_Click(object sender, EventArgs e) { //Coneection String by default empty string ConStr = ""; //Extantion … | |
Hi my name is vishal i was wondering on how to make my global variable accept values from another table in c# windows forms with sql server 2008? So i am developing an application named:**Mini Project** which has a login form named:**frmLogin**. Given below is **c# code** of **frmLogin**: namespace … | |
Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would like it to be on topic. I hope you understand this. For these of you who would like to learn … | |
I'm trying to catch an SQLite problem but I'm unsure how. The problem is opening a database which is password protected. No error appears to be thrown when opening a database with an incorrect or no password. I tried the following. SQLiteConnection m_dbConnection = null; try { m_dbConnection = new … | |
Hello again! I want to understand how a particular software product works. Its a game and its completely moddable (uses lua for its game logic) yet most modders such as myself don't really understand how it all fits together. I asked something similar to this question a few months ago. … | |
I have a small program that queries a database and retrieve some information about employees. The only problem I have is that when I search for the employee my program never finds any employee after the first employee. Here is my code: private void buttonSearch_Click(object sender, EventArgs e) { string … | |
I need to ask question. I am sure it is easy once I figured it out or someone on here points me in the right direction. What I am trying to do is keep the header fixed and the parallax image at a default state is as it appears when … ![]() | |
Dear all, May I know what is the problem for my source code. I let the user to choose the Quarter and Subdept. But when the user choose one of the Subdept, it will show this error Expected '}' at line (var rows = eval('(' + xmlhttp.responseText + ')');) May … | |
Hello, I am currently completing a side project. The biggest ideal of it all has to do with a dynamic drop down box. I have heard and seen of the 'auto complete textbox' feature by using ajax/jquery toolkits. That is what I'm looking for, but I was wondering if there … | |
Problem: [b]Windows Vista/ Windows 7 User Account password corrupt / Forgot password.[/b] IMPORTANT: “DO NOT PERFORM SYSTEM RESTORE FOR THE FOLLOWING ISSUE, BECAUSE IF THIS ISSUE CAUSED AFTER WINDOWS UPDATE THEN THIS ISSUE WILL REOCCUR” SNIP Solution: 1. Boot from the windows vista DVD 2. Get into Windows Recovery Console … | |
Hi my name is vishal for past 6 days i have been breaking my head on how to get id(user_id or manager_id) of currently logged in user in my application in c# windows forms with sql server 2008. So i have a application named:Mini Project which has a login form … | |
THIS IS MY CODE.... bUt i am not getting the data between the given dates IN THE DATAGRID VIEW Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ConnString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source= C:\Users\Anand\Documents\db.accdb" Dim dfrom As DateTime = DateTimePicker2.Value Dim dto … | |
Hi my name is vishal for past 6 days i have been breaking my head on how to get id(user_id or manager_id) of currently logged in user in my application in c# windows forms with sql server 2008. So i have a application named:**Mini Project** which has a login form … | |
![]() | Hello Daniweb. I'm a Computer Scientist from SanDiego. I like to learn about how things work esp. Computers. I like to program in variety of languages. I've recently started programming for Mobile platforms, mostly android, and my goal is to learn more about embedded systems and contribute more to the … |
'====================================================================================================== '====================================================================================================== Option Explicit 'For Log ID Public RUNNINGID As String Private Sub butBrand_Click() On Error GoTo ErrorHandler Dim colData As New Collection frmSearch.SQL_Statement = "SELECT ROW_NUMBER () OVER (ORDER BY brand_type_code) AS [NO.] , " & _ "[brand_type_code] AS [Brand Type] , " & _ "[brand_type_name] AS [Brand Name] … | |
WordPress Web Development is an effective way to give your business boost and to get strong web presence. WordPress is an open source content Management system gives developers a platform to create attrative websites. Guys you can share your thoughts and Knowledge of WordPress web development. I would be glad … | |
Hi my name is vishal for past 3 days i have been breaking my head on how to block/restrict a user on 3 unsuccessful attempts by him/her into application in c# windows forms with sql server 2008. So i am developing an application named:Mini Project, which has a mdi parent … | |
![]() | Hi: I'm Yam from Spain. CTO, IT entrepreneur & Developer of technology for the Internet universe. Fan of Big Data and the Semantic Web. Evangelist of Open Source, Cloud Computing and e-commerce. Religion: Startups. Policy: Open Innovation. Leisure: Linux. Now working with Python and I work as a functional analyst. … ![]() |
i am developing a project in vb6.0 and i want to open a child form in mdi form with function keys and want to close child form with escape key.Plz reply me with source code | |
I am a beginner, and want to know how can run the code in notepad with visual studio. I tried with a simple code by --<<All Program -->microsoft Visual --> visual Studio tools --> visual Studio command prompmt. The error is: ''fatal error C1083: cannot open source file: filename.cpp: No … | |
i have just installed visual studio 10. Im not familiar with it. I want to connect MDB file to it. I have googled that but could not find appropriate code. So would anyone help me finding the equivalent Visual Studio 10 code to the VB6 code i am pastng below. … | |
For 2-3 years in have been coding in php , then for some time in codeigniter. Now i want to built some business type application like ERP and i am confused which language to choose ASP.NET or java As ASP.NET is growing very rapidly and has large library to do … ![]() |
The End.