4,457 Topics

Member Avatar for
Member Avatar for NardCake

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 …

Member Avatar for Tarek_2
1
803
Member Avatar for rony001

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("", "") …

Member Avatar for confidence123
0
563
Member Avatar for FireNet

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. …

Member Avatar for Swalih
5
12K
Member Avatar for VIeditorlover

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 …

Member Avatar for JOSheaIV
1
1K
Member Avatar for Mike Bishop

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 = "" …

Member Avatar for Deep Modi
0
259
Member Avatar for Dudestreet

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 …

Member Avatar for hericles
0
317
Member Avatar for oanahmed

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 …

Member Avatar for DeanMSands3
0
3K
Member Avatar for William_14

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 .... …

Member Avatar for Santanu Das
0
496
Member Avatar for Sunil_12

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 …

Member Avatar for Sunil_12
0
1K
Member Avatar for William_14

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: …

Member Avatar for William_14
0
160
Member Avatar for fungus00

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) { …

Member Avatar for yssirhc
0
93
Member Avatar for rony001

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 …

0
170
Member Avatar for shilu2

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 …

Member Avatar for shilu2
0
503
Member Avatar for Dudestreet

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 …

Member Avatar for oussama_1
0
299
Member Avatar for come_again

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 …

Member Avatar for diafol
0
221
Member Avatar for nikitathapa

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.

Member Avatar for CimmerianX
0
65
Member Avatar for Sebastian_1

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 …

Member Avatar for Sebastian_1
0
182
Member Avatar for tubs1

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

Member Avatar for chriswelborn
0
199
Member Avatar for fungus00

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 …

Member Avatar for JorgeM
0
682
Member Avatar for krunal1986

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 …

Member Avatar for Vidya Sagar
0
5K
Member Avatar for nickwebha

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 …

0
85
Member Avatar for Viruthagiri

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 …

Member Avatar for Saad Awan
0
593
Member Avatar for shroomiin

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 …

Member Avatar for chriswelborn
0
167
Member Avatar for rianbattle

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 …

Member Avatar for rianbattle
0
263
Member Avatar for asardeen

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 …

Member Avatar for JOSheaIV
0
339
Member Avatar for Satyam_1

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." …

Member Avatar for Satyam_1
0
1K
Member Avatar for JohnIV

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 …

Member Avatar for veedeoo
0
165
Member Avatar for sujay anand

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 = …

Member Avatar for EddyC27
0
129
Member Avatar for asardeen

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 …

Member Avatar for EddyC27
0
151
Member Avatar for vishal anand.s

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 …

Member Avatar for vishal anand.s
0
332
Member Avatar for peter_budo

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 …

Member Avatar for Rajeev Kumar_1
9
3K
Member Avatar for Suzie999

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 …

Member Avatar for Suzie999
0
1K
Member Avatar for Curious Gorge

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. …

Member Avatar for TrustyTony
0
197
Member Avatar for MasterHacker110

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 …

Member Avatar for hericles
0
198
Member Avatar for dlmagers

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 …

Member Avatar for diafol
0
274
Member Avatar for Koh_1

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 …

Member Avatar for Koh_1
0
213
Member Avatar for Nicholas_5

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 …

Member Avatar for hericles
0
298
Member Avatar for avi4ya

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 …

Member Avatar for DenisHu
0
2K
Member Avatar for vishal anand.s

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 …

Member Avatar for vishal anand.s
0
404
Member Avatar for anuradha71

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 …

Member Avatar for pritaeas
1
264
Member Avatar for vishal anand.s

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 …

Member Avatar for AleMonteiro
0
509
Member Avatar for NotoriousZeus

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 …

Member Avatar for happygeek
0
113
Member Avatar for nayzin.phyo

'====================================================================================================== '====================================================================================================== 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] …

Member Avatar for e.pol
0
182
Member Avatar for aliceknight

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 …

-4
64
Member Avatar for vishal anand.s

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 …

Member Avatar for fikreyes
0
897
Member Avatar for Yamil_1

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. …

Member Avatar for Yamil_1
0
54
Member Avatar for Bhagwanshay_1

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

Member Avatar for milan.oparnica.90
0
1K
Member Avatar for rela

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 …

Member Avatar for NathanOliver
0
706
Member Avatar for horizondesai

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. …

Member Avatar for cgeier
0
372
Member Avatar for Prateek_2

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 …

Member Avatar for diafol
0
1K

The End.