1,430 Recommended Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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# | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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"? | |
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 | |
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 | |
![]() | 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..  Software Development microsoft-access seo vb.net ![]() |
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 | |
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 | |
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 | |
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 | |
#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 | |
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 | |
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 | |
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 | |
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# | |
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 | |
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 | |
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 | |
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 | |
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 | |
I'm in last year in CSE & my is relating to fingerprint, so i need to help. Software Development c# | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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. | |
**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 … | |
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 | |
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++ | |
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 |
The End.