1,430 Recommended Topics

Remove Filter
Member Avatar for
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
737
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
587
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 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 = …

Software Development vb.net
Member Avatar for Reverend Jim
0
266
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#
Member Avatar for rproffitt
0
742
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 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 python
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
482
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 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
524
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
411
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#
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
Member Avatar for nigelwright7557
7
919
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
732
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 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
687
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 vb.net visual-basic
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
Member Avatar for rproffitt
0
508
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
457
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
420
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
361
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
617
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 c#
Member Avatar for overwraith
0
962
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
802
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
588
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
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
472
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
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 c#
Member Avatar for CH_2
0
320
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
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++
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 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
617
Member Avatar for hatem.ib

I'm trying to print multiple QR images in 1 page, but when i print i receive the last image only, the Code is: int QRLoop = Convert.ToInt32(txtSerialTo.Text) - Convert.ToInt32(txtSerialFrom.Text) + 1; for (int i = 0; i < QRLoop; i++) { int iSerial = Convert.ToInt32(txtSerialFrom.Text) + i; string QRString = …

Software Development
Member Avatar for hatem.ib
0
502
Member Avatar for Saboor880

I have to print some text to printer. I needed to translate that text in Urdu language also. For that I used google translation API and all was set. But I am facing problem in order of output. // this is the code which is giving my desired output String …

Software Development java
Member Avatar for JamesCherrill
0
445
Member Avatar for scheppy

Guys, Ive gotten it into my head to do somthing fairly difficult for me, I want to communicate with a swing application, to a proximetly sensor, and track live when it senses somthing and how many times it has sensed somthing, I want to use java. theres alot more to …

Software Development java
Member Avatar for rproffitt
0
434
Member Avatar for wap_2

Is there a way to transfer multiple files using sockets from client to server? i was able to send 1 file , but sending multiple doesnt work.

Software Development c c#
Member Avatar for rproffitt
0
331
Member Avatar for Meghna_1

**Question**Accept a character C and a positive integer N as input. The program must print N characters starting from C. Input Format: The first line contains C and N separated by space(s). Output Format: The first line contains N characters. Example Input/Output 1: Input: a 4 Output: abcd Example Input/Output …

Software Development c c++
Member Avatar for ddanbe
0
301
Member Avatar for dongtrien

I get the employee list from SQL Server problem with fields: ID: id employee Employee: name employee after filter the kernel list dv.RowFilter = "set condition unique 1 recoder" at the command if (dv.Count == 1) at this assignment id and the kernel name is not correct the unique file …

Software Development c
0
276
Member Avatar for Aliyah_1

Hey. My question is to read from a csv file and provide a user functionality to sort and output the data by grades, name and student id.. The code is compiling and running. The trouble I am getting now is outputting the file to different files when being sorted out …

Software Development c++
Member Avatar for Aliyah_1
0
267
Member Avatar for Lol_1

I am a drafter using autocad and I know a littttttle bit of VB6. We just happen to have it installed on our computers and I wanted to create an application that can do this: 1. Takes the # input from text1 and text2 and waits for the user to …

Software Development vb.net visual-basic
Member Avatar for JustMarkInAz
0
556

The End.