1,431 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for sidyusuf

how can i limit a user to enter 10 digit no like telephone no in textbox without using regular expressions?????

Software Development vb.net
Member Avatar for ddanbe
0
16K
Member Avatar for DAVID_135

I want the method to append a new person object according to the form each time the save button is clicked, and read the new content of the file each time the retrieve button is clicked, unfortunately it only reads the last entered person. am now here for help package …

Software Development file-system java
Member Avatar for JamesCherrill
0
586
Member Avatar for party_1

G'day, Im about to have my big brake and i'm gonna ask you about creating a music app like spotify? Do you know where to start from?

Software Development
Member Avatar for John_206
0
295
Member Avatar for Aqib_2

SELECT SUM([BTL].dbo.OrderTable.Quantity) AS 'Totalquentity',Count(BTL.dbo.OrderTable.OrderID) as TotalOrder FROM [BTL].dbo.OrderTable JOIN [BTL].dbo.Products ON [BTL].dbo.OrderTable.ProductID=[BTL].dbo.Products.ProductID Left JOIN [BTL].dbo.Brand ON [BTL].dbo.Products.BrandID=[BTL].dbo.Brand.BrandID WHERE [BTL].dbo.OrderTable.EmployeeID='1' Group by [BTL].dbo.Brand.BrandName,[BTL].dbo.Brand.BrandID" I Want to get avg

Software Development
Member Avatar for pty
0
235
Member Avatar for arithehun

This is a tutorial, not a program. [b]Step 1[/B] First, create a file for your website, and name it "admin.html". [b]Step 2[/b] Now on it, say, "You must log in to view admin, blah,blah,blah. Click here to launch our client." [b]Step 3[/b] Link "Click here" with the C++ .exe file …

Software Development c++
Member Avatar for Aaron_16
-5
15K
Member Avatar for prnjn

Hi , For my major project i have 7 months in hand. I have decided to make a video chatting application using java (like yahoo messenger or skype) with features , 1. Authentication of user name and password before logging in 2. one to one online video chatting . 3. …

Software Development gui java java-jsp java-swing video web-browser
Member Avatar for JamesCherrill
0
8K
Member Avatar for kamilacbe

Hi , i have a collection of html element to render the output , and i wanna change element tag for eg h2 tag to h4 and then send to the render output markup in react js . I can do them in jquery but wanna try in reactjs .some …

Software Development api html-css javascript
Member Avatar for rproffitt
0
4K
Member Avatar for brittany435

Hello, I am working on a small program that reads ten numbers, computes their average, and finds out how many numbers are above average. This is the set up I have so far: #include <iostream> using namespace std; int main() { double myList[10]; myList[0] = 89 myList[1] = 56 myList[2] …

Software Development c++
Member Avatar for Reverend Jim
0
3K
Member Avatar for Alzen John

Hi, I would like to know how to get IP Address of the devices connected to the hotspot of my PC using a VB program that will run on the same PC where the hotspot is running. I have no idea how to get it strated. I searched internet but …

Software Development vb.net
Member Avatar for Reverend Jim
0
740
Member Avatar for John_165

Hey guys, I have a little bit confused on below code and output **Main ** public class Main { public static void main(String[] args) { ClassA classA = new ClassA(); System.out.println("====== Before ====="); classA.checking(); System.out.println("===== After ====="); classA.checking(); } } ** Class A** public class ClassA { boolean b = …

Software Development java
Member Avatar for Buy Business
0
589
Member Avatar for JModak

Sir. I create a project in vb.net 2010 sql server 2008r2 and crystal report 13. i use this code for showing the report. Public Sub PrintSaleRInvoice() Dim PrintSale As New DataSet objsale.saleinvid = txtSaleInvid.Text PrintSale = objsale.PrintSaleInvoice() ' Procedure name PrintSale.Tables(0).TableName = "DataTable1" Dim rpt As New SaleInv rpt.PrintOptions.PaperOrientation = …

Software Development dataset vb.net visual-studio
Member Avatar for rproffitt
0
586
Member Avatar for tshukela.george

what is causing this error here "Operator '&' is not defined for string "select * from Miscellaneouse whe" and type 'DataRowView'." provider = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source =" dataFile = "C:\Users\PrintServer\Documents\Visual Studio 2010\Projects\Hr and Payroll1\HR and Payroll.accdb" ' Change it to your Access Database location connString = provider & dataFile myConnection.ConnectionString = …

Member Avatar for Reverend Jim
0
267
Member Avatar for student_x

Coin game: Alice and Bob are playing a game using a bunch of coins. The players pick several coins out of the bunch in turn. Each time a player is allowed to pick 1, 2 or 4 coins, and the player that gets the last coin is the winner. Assume …

Software Development c++
Member Avatar for G._1
0
3K
Member Avatar for overwraith

I started working on a windows forms authentication project, which uses nhibernate, and has some management pages for managing user settings, such as resetting user password. This forms based authentication uses session state in order to save the user's authentication information. I will be using a special authentication attribute in …

Software Development c# session web-server
Member Avatar for rproffitt
0
743
Member Avatar for Otto_1

New to Python. Background from TRS basic thru several versions of basic and ending with Qbasic, some Perl and now trying Python. I get the following error and have no idea what is causing it. There would be 11 catagories and some catagories could have multiple entries for the period. …

Software Development perl python
Member Avatar for ryantroop
0
1K
Member Avatar for deadmarshal

Hi, I've written this code which i send below. now i have a listview, and when i click each item in my listview, i want it's related word to be fetched from db and shown in my textview. now it fetches all the data :(. look at the picture, for …

Software Development gui listview python sqlite tkinter
Member Avatar for rproffitt
0
524
Member Avatar for overwraith

This is surprisingly difficult. Consider it a snippet. Deletes all tables from a sql server schema. Useful for those times on your dev machine where you need to tear down all the cruft that has built up on your server due to refactoring of object relationally mapped tables. --Author: Cameron …

Software Development sql
Member Avatar for overwraith
1
483
Member Avatar for subhankar02dey

I want to send an ArrayList<Integer> from client and and then read it from server using socket program and after readinf it at server, I want to calculate the sum of the elements of the ArrayList and then return the average to client. I have written the code as follows …

Software Development client-server java
Member Avatar for AyOob_1
0
8K
Member Avatar for Naveed_786

Dear All, I am trying to read a CSV file into VB.NET datagridview which is fine i did already but one of datagridview coloumn is date and time i want to convert it to human readable format and want to read the correct format in date and time column in …

Software Development unix vb.net
Member Avatar for rproffitt
0
2K
Member Avatar for Gustavo_7

I would like to retrieve a filtered data from a text file and send to excel. I have these lines in a text.txt file: I am Fred username is fred from USA cd I am Robert username is bob from USA cd I am John username is john from China …

Software Development python
Member Avatar for rproffitt
0
527
Member Avatar for Sam_49

Try Dim Adapter As New OleDbDataAdapter Dim Command As New OleDbCommand Dim xFrom As String = dtpFrom.Value.ToString.Substring(0, dtpFrom.Value.ToString.IndexOf(" ")) Dim xTo As String = dtpTo.Value.ToString.Substring(0, dtpTo.Value.ToString.IndexOf(" ")) sqlQuery = MainQuery & " Select TOP 100 LOANS.LoanID," sqlQuery = sqlQuery & " Borrowers.NAME," sqlQuery = sqlQuery & " Barangay.BRGYNAME," sqlQuery = …

Software Development vb.net
Member Avatar for Reverend Jim
0
412
Member Avatar for Siberian

Is C similar to C# (C-sharp); or are they completely different ? I was wondering if I should begin learning C# and the transition to C will be a tad bit easier ?

Software Development c c# c++
Member Avatar for overwraith
0
390
Member Avatar for Jack_39

For the past several years I have been feeling quite embarrassed about my coding abilities. I've been self studying most nights trying to catch up to my peers but I feel like I have a moving target. I feel like my years of work experience does not reflect my coding …

Software Development apple web-design
Member Avatar for nigelwright7557
7
920
Member Avatar for rproffitt

When this news came across I only had to think of MSFT's prior acquisitions to think this may not end well. As the song goes " Should I Stay or Should I Go"?

Software Development github microsoft
Member Avatar for happygeek
1
760
Member Avatar for JModak

hello sir how can I get my system short date format in a label in vb. net. I try this code : Label1.Text = System.Globalization.CultureInfo.CurrentUICulture.DateTimeFormat.ShortDatePattern() but show wrong data. all time show "M/d/yyyy" format. I change it(to "dd/MM/yyyy") manually and by coding result is same("M/d/yyyy") please help me..... For Change …

Software Development vb.net
Member Avatar for xrjf
1
8K
Member Avatar for Stephen_28

Hi, I am currently working on a VB form for a college assignment. I am trying to add quantities from a ListBox and then display the result in a TextBox for a pizza delivery order by using a button. So far, the Listbox shows: pizza type Quantity pizza price Total …

Software Development display vb.net
Member Avatar for Santanu.Das
0
2K
Member Avatar for JUNG_1

Hi! My name is Jung and I'm new to VBNET I have already tried many ways to write codes for "btnSearch" but seems like nothing works.. I really need help for this as the deadline is around the corner :'( Below are my codes for Search button.. ![btnsearch.PNG](/attachments/large/4/76be068c625e23d9a57e969a97509bee.PNG "align-center")

Software Development microsoft-access seo vb.net
Member Avatar for JUNG_1
0
689
Member Avatar for JModak

Vshost.exe has stopped working... Posted A minute ago vshost.exe has stopped working this error showing after using the Crystal Report. The error show when I closed the application. If I not use the crystal report then the error not showing. I am creating a program in vb with visual studio …

Software Development dataset vb.net visual-basic visual-studio
Member Avatar for rproffitt
0
674
Member Avatar for Alphex_1

I have an anti-virus in **Visual Basic .Net**. I want to have a real-time protection engine in my program, but I'm having some issues with the code I'm using now, which is this: Private Sub FileSystemWatcher1_Changed(ByVal sender As System.Object, ByVal e As System.IO.FileSystemEventArgs) Handles FileSystemWatcher1.Changed Try labellastreal.Text = e.FullPath ListBox3.Items.Add(labellastreal.Text) …

Software Development vb.net visual-basic
Member Avatar for rproffitt
0
510
Member Avatar for Tony_26

hello guys, i know you all are familiar with DOSCOMMAND to run a console and catch its output .. but what if i want to send a PAUSE keystroke to the console ?? with SENDLINE i can send string and char but how do i send a PAUSE or ENTER(RETURN) …

Software Development pascal
Member Avatar for rproffitt
0
459
Member Avatar for cambalinho

i have these GNU macro: #if defined __GNUC__ #define EVENT [[gnu::weak]] #elif defined __clang__ #define EVENT [[llvm::weak]] #endif #define IS_EVENT_DEFINED(sym) (static_cast<bool>(sym)) these macro works fine. and help me test if the function(even with a prototype) was defined. my problem is can i convert [[gnu::weak]] to Visual Studio code(for be compatible)? …

Software Development c++ visual-studio
Member Avatar for rproffitt
0
423
Member Avatar for lim_3

#include<stdio.h> int main() { int x=5; int y=50; do{ x = x + 10; }while (x <y); printf("%d\t%d", x,y); } I wonder why i compile is 55 50 why not 15 50???

Software Development c
Member Avatar for Reverend Jim
0
363
Member Avatar for Divinedar_1

Ok I have a workbook that have 5 worksheets for a 5 year span. On each of the worksheets are there is a list of countries that make up the combobox (which works perfectly). On my userform I have a frame on the userform that represent each worksheet. **My problem …

Software Development vb.net visual-basic
Member Avatar for Divinedar_1
0
618
Member Avatar for Nightocoder201

Hello everyone, I am having trouble with my program its solving expressions and when I compile it I get a "Illegal start of expresson" line in my output. I am using Jgrasp as my softwear. May I ask to reveiw my code and see on what I did wrong? I …

Software Development java
Member Avatar for JamesCherrill
1
2K
Member Avatar for IsaacMessi10

I'm trying to make a button that when pressed for a short while will close the form but when pressed for a long time *e.g. 5s* the form's process will be killed. I'm trying to achieve this with a timer. Private Sub CloseLongTimer_Tick(sender As Object, e As EventArgs) Handles CloseLongTimer.Tick …

Software Development vb.net
Member Avatar for ersinkecis
0
2K
Member Avatar for overwraith

Does anybody know whether System.Data.SqlLite has the capability to do a Change notification callback when one of it's tables is changed? I know that Python can do it by calling the C api, but This is kind of beyond me. I know I have done this before on an oracle …

Software Development api c# oracle
Member Avatar for overwraith
0
963
Member Avatar for overwraith

I need some help building a bootstrap Angular UI modal. This is what I have so far, but I am pretty sure it is wrong. Any assistance would be good. This actually appears to be doing mostly bootstrap stuff. It was originally jquery, but I figured out the hard way …

Software Development c# css-bootstrap html-css javascript
Member Avatar for overwraith
0
807
Member Avatar for overwraith

I have a bootstrap view which I am trying to get a modal working for. Unfortunately the modal is displaying as part of the page, not invisable. So it is displaying with it's content as part of the page. Here is my code: <!-- Placing excel upload modal here... --> …

Software Development html-css software-architecture
Member Avatar for overwraith
0
590
Member Avatar for Jack_9

Hello fellow python lovers of daniweb.com. This isn't as much a question as much as the fact that I want to see how different people would go about using python to inject an SQl database. I made a script were you can access the ip and run a command. NOTE:Obviously …

Software Development python sql
Member Avatar for phoenix079
0
8K
Member Avatar for shibunath

Fellow Python developers, Python has a sorted() or sort() function to implement ascending or descending order programs,but supposing if i want to develop a ascending order program that takes user input and ascends or descends them,how should I go about? For Example: Lets Say i want to convert this C …

Software Development python
Member Avatar for Zak_2
0
6K
Member Avatar for virusisfound

I was working on C# windows application as front end and SQL as back end I have display my sql table data in dtatgridview. [B]I want to display the data in textbox whatever row i select in datagridview.[/B] I have write some code but its not showing data in textboxes. …

Software Development cybersecurity display vb.net
Member Avatar for pritam_4
0
6K
Member Avatar for Harsh_11

I'm in last year in CSE & my is relating to fingerprint, so i need to help.

Software Development c#
Member Avatar for overwraith
0
2K
Member Avatar for Abdullahi_2

I have writen my codings, all that is remain for me is to convert to software. Please how do I convert it...

Software Development python
Member Avatar for JimmyD94
0
474
Member Avatar for JModak

How can I show the database in a single mode (windows or SQL authentications mode) please help me..... How can I Show the database in a single mode (windows or SQL authentications mode) please help me. I create a project VB.NET 2010 and SQL server 2008r2 , When I login …

Software Development sql
Member Avatar for overwraith
0
354
Member Avatar for CH_2

# my code in asp.net with sql server # my final task is to perform string matching and i know i use algorithm but i can use logic first i split the code in listbox .success 2nd step i match all the listbox items to sqlserver which contain 1 column …

Software Development algorithm c c# c++
Member Avatar for CH_2
0
323
Member Avatar for wa0h@arrl.net

i want to convert my old desktop windows program to a language that is independent of microsoft .. don't ask why. ----------------------------------------------------------- .. my old program is written in visual-basic (vb.net) and works with microsoft access databases. .. the old program contains about 20 different forms for data input/output. .. …

Software Development apple ide microsoft-access visual-basic
Member Avatar for pty
2
498
Member Avatar for vegaseat

The snippet shows how to create a menu on a windows form and test it. Original code via BCX, modified to compile with Dev C++ as a Windows Application. This approach does speed up writing of GUI programs.

Software Development c++ gui
Member Avatar for iman_1
1
5K
Member Avatar for lllllIllIlllI

Hi i have been spending the last few days deciding on an IDE that would let me program in Java, C++ and python and notepad++ looked pretty good. The only issue is i cant work out how to make the program run once i have made it. I looked in …

Software Development ide python
Member Avatar for Kuldeep_8
1
3K
Member Avatar for EvolutionFallen

Hello, I'm hoping for some help with a regex that has me stumped. My skill with regex is rather rudimentary. To start, here are a couple of example URLs, and whether I want to match them or not: collection/col1 // MATCH collection/col2 // FAIL collection/col1/products/pro1 // FAIL My criteria: * …

Software Development regex
Member Avatar for xrjf
0
2K
Member Avatar for Aliyah_1

hello there. i needed a little help in writing coding for reading multiple lines of data from a .txt file that are seperated by commas. Student Name, Student ID, Mark Ada Lovelace , S001 , 99 Barbara Liskov , S0123 , 44 Carol Shaw, S0023 , 55 Donna Dubinsky , …

Software Development c++
Member Avatar for rproffitt
0
618

The End.