132,726 Archived Topics
Remove Filter ![]() | |
**BUTTON SAVE** Private Sub Button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button12.Click get_kon() Dim simpan As SqlClient.SqlTransaction = kon.BeginTransaction Dim command As SqlClient.SqlCommand = kon.CreateCommand bersih() Try With command .CommandText = "InputAnalis5C" .CommandType = CommandType.StoredProcedure .Connection = kon .Transaction = simpan .Parameters.Add("@NONAS", SqlDbType.NVarChar, 12).Value = TextBox1.Text .Parameters.Add("@NAMA", SqlDbType.NVarChar, … Software Development dataset gui open-source vb.net | |
Function Key(F1,F2...) Press open Window Form Instead of Using Menu Button Software Development | |
Hi guys, I have to create a C# application which is able to mask images but I don't really get on with it... I thought I will use this example for the project: http://www.camera-sdk.com/p_248-how-to-implement-image-masking-in-c-onvif.html Any ideas or experiences? Has anyboby here used this? Any help would be appreciated. Thanks!! | |
Hi, I need to validate a text input with the rest of the data inside excel file. The following is my code. It just read the text input and only execute data in row 1 only instead of searching other model's data. Any suggestion where did the code goes wrong? … Software Development microsoft-office visual-basic | |
Can someone kindly help me with a solution to this assignment http://math.hws.edu/eck/cs225/s09/lab9/ CPSC 225, Spring 2009 Lab 9: Sets in the Java Collection Framework For this week's lab, you will use two of the classes in the Java Collection Framework: HashSet and TreeSet. You will use these classes to implement … Software Development file-system java regex | |
I'm looking for a way to do report printing. I understand CrystalReports is probably my best bet, but I can't find anything that relates to the way these reports need to look. My program is meant to record trainings for my company's supervisors. It has several text boxes that contain … Software Development vb.net | |
I would like to assign a CTRL Q shortcut to the Quit submenuitem (filesubitem1) but can't find the right syntax. Any assistance will be greatly appreciated. Thank you. If user_wants_file_menu = True Then Dim fileItem As ToolStripMenuItem = New ToolStripMenuItem("File") Dim filesubitem1 As ToolStripMenuItem = New ToolStripMenuItem("Quit") filesubitem1.ShowShortcutKeys = True … Software Development vb.net visual-basic | |
I'm stuck dealing with strings which is a pain when porting code... I'm doing stuff such as porting this: enum { VAL_NULL = 0, VAL_INT, VAL_FLOAT, VAL_STR, VAL_ANY, VAL_CODE, VAL_MACRO, VAL_IDENT }; to this: for i,v in enumerate([ 'VAL_NULL','VAL_INT','VAL_FLOAT','VAL_STR','VAL_ANY','VAL_CODE','VAL_MACRO','VAL_IDENT' ]): globals()[v]=i anyone know of a method I could use to … Software Development python | |
Need to have balls moved when touched using getmouse() also need an if then statement when ball is clicked to have it moved Software Development python | |
I tried to build really basic associative array but it turned out I don't have enough knowledge, so I tried something less, and less, and less, because I kept failing at it. Finally I just tried to set variables and print them in the command-line. But I can't even do … Software Development c++ ide operating-system visual-basic visual-studio | |
In below code, I expect 1 to be initialized in all the 10 elements in x array. But, it doesn't seem to be working. May I know what I am missing here int main() { int *x = new int[10]; //std::cout<<"address of x: "<<&x<<std::endl; for(int i =0; i <10; ++i){ … Software Development c++ | |
![]() | I built a database structure with codefirst EF from a tutorial but I can't find the database. I've looked in (localdb) and it's not in my local install of SQLServer. Would anybody know where I would need to look to find the database? Software Development ![]() |
Hey Guys, I'm pretty new to containers, but need to use them for a project I'm doing. I've figured out that I can use a map iterator to iterate through values stored in the map displaying the key, followed by the second value. In my case, the key is an`int` … Software Development c++ | |
class and examination scheduling system Software Development | |
I have a tabbed web browser its working fine , but i have a little problem and that is if i open a new tab is ok but if i go back to previous tab the urltextbox it have the url in the tab last opened tab. so i am … Software Development vb.net web-browser | |
I have a 2D arraylist, named as adjLists, which contains arraylists, containing values like these. Each two values are a "pair" and each third is a "flag" for the pair. [278, 106, 0, 397, 36, 0, 59, 208, 0, 366, 221, 0] [366, 221, 0, 397, 36, 0, 132, 390, … Software Development java | |
I have DatagridView on form. My database has three fields. - userId (bigint) - userName (varchar) - userDob (date) Now, on Form I have comboBox, which lists Months (Jan, Feb, March and so on...). I want my program to work like this. If I select any month on ComboBox, birthdays … Software Development vb.net | |
Im designing a software for fun. but I stuck in somewhere in listboxes. what I'm trying to do is like this: you write something in in textbox1. after press a button it seach if a word like that is on listbox 1. if that is true than it send a … Software Development vb.net | |
Create an array that holds 20 elements. User should enter 20 test scores, the program therefore calculates the average of all tests scores. Izf user enters test score less than 0 or above 100 an error message should display. Additionally it must display the entire array with 20 test scores … Software Development | |
I have this regular struct struct Person{ char *name; int age; } and I should do some regular stuff like, input size, create dynamic array of persons , and take user input for this person. But the problem, as you can see is how do I input in name pointer; … Software Development c++ | |
Hello All, I have created a new windows form application in Visual studio Express 2013. How would I get .NET framwork added to Windows Form application so I can use both? I have also got visual express web 2013 and .NET framworkdapppears on there. I am getting annoyed. Can I … Software Development asp.net visual-studio ![]() | |
try { string reslt = null; string test; foreach (Control c in flowLayoutPanel1.Controls) //here is the minor change { if (c.GetType() == typeof(ComboBox)) { reslt = c.Text; ComboBox combo = (ComboBox)flowLayoutPanel1.Controls.Find(c.Name, true).FirstOrDefault(); test = combo.SelectedValue.ToString(); string insertrec = "insert into testreport(TestID,result,rang,labno,DetailID)Values('" + refid + "','" + reslt + "','0','" + … Software Development ![]() | |
I have taken input of 5 images from user and showed it in photogallery now I want these images in list view too. How should I pass them in list view simultaneously. I tried the below code but it shows images in photogallery not in listview. Private Sub BrowseMultipleFilesButton_Click(ByVal sender … | |
I'm sure there is a really simple solution for this matter, but I have tried all I know without success. I'm trying to modify this working SQL string to yield only the Top 25 results, not all results. "SELECT * FROM" & "data.CSV" & "ORDER BY " & "Elapsed" & … Software Development sql visual-basic | |
Hellooo, Is there a way to compare a datagram packet's IP address with the host's IP address? Because i have a client/server (client is acting as a client & server) class that uses multisocket to broadcast to every host it'll send the datagram to itself as well, which i don't … Software Development client-server java | |
Hello everyone, If i need my program to create as much vectors as needed based on the user first input , assuming each vectors will hold an int value like a combinations of numbers, so latter those vectors will be compared for higher value. EX: prompt the user to enter … Software Development c++ | |
public partial class Form4 : Form { private OleDbConnection connect = new OleDbConnection(); public Form4() { InitializeComponent(); connect.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\Bino Unity\Desktop\user1.accdb;Persist Security Info=False;"; } private void Form4_Load(object sender, EventArgs e) { } private void login_button_Click(object sender, EventArgs e) { connect.Open(); OleDbCommand command = new OleDbCommand(); command.Connection = connect; command.CommandText … Software Development microsoft-access open-source sql | |
Hi all, Want to write some data from C# to Excel. Code enough I thought, here at DANI's and on the web. So I managed to come up with this : [CODE=csharp]private void DoExcel(string Fname) { Microsoft.Office.Interop.Excel.ApplicationClass excel = null; Microsoft.Office.Interop.Excel.Workbook wb = null; Microsoft.Office.Interop.Excel.Worksheet ws = null; Microsoft.Office.Interop.Excel.Range rng … Software Development c# microsoft-office | |
Hi, I have some number 1 to 5. How to find top 3 number in that range ? For example, in the range of 1 to 5 , I want to show only 1 to 3 in the the text box. Software Development vb.net | |
hello everybody...nice to back again i m working on project to calculate measures and numbers and insert data inside datagridview(dgv) from number.text and measure.text but if value of measure.text present in dgv son update number cell with new value + present value problem is how to do so.... i tried … | |
hi i've been given a task to do the following program without using structures or linked list and ... . just with arrays and simple things. the application will accept some data as follow : N1 F N2 N2 F N3 and then print them out from grandfather to son … Software Development linked-list | |
Hi, I have vb.net application. In the form I have print button and when I do print, after printing the form is closed. so I have to reopen the form. I tried much, but I am not able solve the problem. Please help me. I put following code in print … Software Development vb.net | |
I am trying to do some text processing tasks against a collection of files stored in a directory. The data set is just standard 20-newsgroup data. However, running the following code segement gives error message such as `UnicodeDecodeError: 'utf8' codec can't decode byte 0x80 in position 240: invalid start byte` … Software Development python | |
hello guys i make a simple calculator in window form application and i want to add it with a scientific calculator form how can i connect these two forms Software Development c++ | |
I cannot understand user defined functions in c++? Please give suggestions or refer any book or website where I can learn User - defined functions in C++? Software Development c++ | |
Have a good evening! **The Aim:** to obtain a Sieve of Erastothenes **The Means:** to build a function of a number n that the prime numbers up to n. **The code** supposed to make this from math import sqrt def holeofStrainer(): """The purpose is to build a sieve of Erasthotenes. … Software Development python | |
hello I am trying to show Data in CrystalReport from Ms Access 2013 In button_click event String Cnstr = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\parth\Documents\test.mdb;Jet OLEDB:DataBase Password=hello123" using (OleDbConnection Cn = new OleDbConnection(CnStr)) { using (OleDbCommand Cmd = new OleDbCommand("select * from Table1", Cn)) { using (OleDbDataAdapter Adp = new OleDbDataAdapter(Cmd)) { using (DataSet1 … Software Development microsoft-access visual-studio | |
Hello Daniweb Community, I was wondering if there is a way to reset a tabcontrol. What I'm wanting to do is have it so when the user will click New it will reset all the tabpages to the way they were when they started the program up. I tried this … Software Development vb.net | |
*How can one make a program autorun(that is make it begin on the start of the computer like a password program) *What is the best way to start learning windows programming(graphical user interface) Software Development c user-interface | |
stream writer is not working in windows 8.1 worked partially how can write console output in a text file without stream writer .? Software Development file-stream microsoft | |
How do you parse repeating XML sub row values in VB.net (2008) using XDocument, and Dictionary. In the code below I am able to read everything down to first row of userGroup.. Hide Copy Code <userGroup id="XX1" title="MAIN GROUP" orgCode="111" type="NORMAL" fullPath="/AAA/XX1/NANA"/> I get all the values for the FIRST … | |
hi. Experts I'm developing a monitoring student in and out of residential college using RFID My problem is i can scan the RFID tag but i did not know how to save it into database access. here is the code i found on internet to connect detect rfid tag no … Software Development microsoft-access visual-basic | |
Assalam o alikum my name is Al-Haya Noor and i am using very first time the forum. is there any one who guide me? i have a problem while doing my project. in Embedded-C and the problem is Consider the following sequence of values: 00000000 00000000 00000001 00000000 00000000 00000100 … Software Development objective-c software-architecture | |
Hi Daniweb, I'm making a shell-ish console for my Operating Systems class. Trying to get the shell to Terminate a process given a process name. Ever since I made the following addition to my code, this error is coming: `Program received signal SIGSEGV, Segmentation fault.In __gnu_cxx::__exchange_and_add(int volatile*, int) () ()` … Software Development c++ operating-system | |
i have this code uptil yet in which i am adding records in a text file [array of structure] and displaying the text file what i want to do is to implement delete previous record functionality and also to edit the previous records could anyone please guide me as to … | |
what I'm basically trying to do is: x = struct( size=4, order='var0', # <<< struct.__call__( size, order, **vars ) var0 = bu32 # { 'var0': bu32, } ) data = x() # read data from imported file print data.var0 # should return a bu32 int if data.__class__ == x: pass … Software Development data-structure python | |
I am brand new to Visual Studio so please forgive my current lack of knowledge but I've tried searching everywhere for this and am relatively surprised that I couldn't find something about this elsewhere. I am using a currently using an Openfiledialogue with multi-file selection allowed. It then adds the … Software Development visual-basic visual-studio | |
i am doing this gpa java program where I have to implement two method, one called calgpa and the next calqualitypoints, and i have also have to put in two java arrays one for the numbers of courses and the other for whats graded the problem my program is giving … Software Development java | |
Hi, I'm new to Python - and new on here.... I've read lots of tutorials on Python and am currently in an intro to programming class using python, but I can't figure this out. I've searched stack overflow, dani web, java2s, github and many others but can't understand what I'm … |
The End.