16,012,468 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by JPais (Top 33 by date)
JPais
6-Sep-16 3:05am
View
Is it possible to achieve full text search capability by manual method. i.e. creating a manual indexing system using tables and querying the same. Can you guide me with my example? Thanks
JPais
4-Sep-16 5:30am
View
Thank u for your reply.. can u pls help me with your third option. Actually I am using a shared server and iy does not allow me to set up full text server. So can you pls guide me through your third option.
Also will "like query" as the one in my query will slow the search process?
JPais
1-Mar-16 22:35pm
View
Thank you so much for your answer..
JPais
8-Nov-15 14:01pm
View
As I said, I was able to save the written material in .isf format and retrieve it back, But how do I get the same in .txt format (readable text file)
JPais
12-May-15 0:48am
View
Thank you so much.
JPais
8-Apr-15 14:46pm
View
Thank You RyanDev
JPais
15-Jan-15 12:51pm
View
oh sorry by timer i meant asp timer comtrol.
JPais
19-Oct-14 4:21am
View
Thank You Afzaal, I guess the problem can be resolved if I just get the selected Text in the context menu.
Can you help me how to get the selected text in context menu.
JPais
19-Oct-14 3:01am
View
Sorry for the confusion, I have updated my question. I don't want to implement Google search, I am doing a small database driven search and just wanted to add this functionality.
Also how to get the selected (or highlighted) text in the Context (Right click menu)
JPais
19-Oct-14 2:59am
View
Sorry for the confusion, I have updated my question. I dont want to implement google search, I am doing a small database driven search and just wanted to add this functionality.
JPais
17-Oct-14 15:17pm
View
Through the article I was able to get all tables, I want to know whether it is possible if I can specify tables for the search and also how can I get the list of tables based on the search and also a unique id (this unique id I want to use to restrict one user search to with the other user)
Thankyou
JPais
14-Oct-14 1:48am
View
Yes the javascript is working well. But when I fill the div myDIV with content, I want the div to expand in height and not restrict to 50px.
I tried
document.getElementById("div1").style.height = document.getElementById("div1").style.minHeight;
But it didn't work.
I guess iits not the right way.
JPais
13-Oct-14 15:09pm
View
Hi..
Sorry it was a mistake withthe h. But yes I have tried it, it did not work.
JPais
18-Jun-14 12:17pm
View
It din't work. I am still getting the same error. The datagridview.rows.count on the second click is 0.
JPais
18-Jun-14 0:32am
View
Thank you. I'll try and let you know.
JPais
18-Jun-14 0:31am
View
On clicking button1 the datagridview loads correctly and on clicking button2 I am getting the error at this line
datagridview1.Columns("serial").headerText = "Id"
On debugging I found out that the column contains nothing and not "serial" for button2.
JPais
7-Aug-13 7:50am
View
Sorry for all the confusions.
All I want to know is how to connect the three front ends (the client UI, the staff UI and the UI for displaying general information) which are running on three different Systems with each other.
Something like client server programming.
JPais
7-Aug-13 7:22am
View
i know how to connect a front end with a back end database... All i wanted to know is how to connect the two front ends in a network...
JPais
7-Aug-13 5:03am
View
I meant can you help me with the programming part, a small syntax just to show communication between the Systems.
Also how to connect the the database with them.
Also tell me more about the third screen.
Thank You.
JPais
7-Aug-13 4:42am
View
Thanks for the answer, but will my application run on three different computers and insert, retrieve and be connected to a single database at the same time.
Can I use all the systems at the same time.
How to set the application in a network.
JPais
7-Aug-13 3:56am
View
yes there is authentication and identification... only for the client (i.e one system) not for the staff.
Also the contents displayed on the 3rd screen on processing the client's request has nothing to do with the authentication. The contents displayed will be general.
Thank You for your interest.
JPais
7-Aug-13 3:31am
View
Yes absolutely.. you got it right :)
I meant The third screed screen should act like a notice board sort of.. where the user cannot input anything to it (user should be able to just view the contents displayed on it).
JPais
7-Aug-13 3:02am
View
Sorry for being confusing.
I want 2 different front ends, one for the customers and one for the operator. Both should be a Windows form. (I guess you were confused by the word back-end) using the same database and should run on different computers.
And a third screen to be used just for displaying purpose.
JPais
26-Jun-13 10:37am
View
Thank you so much..
it helped.
I have a doubt..
It gives a warning message when I run this app without running it as administrator. Why is it so??
JPais
25-Jun-13 4:41am
View
Thanks for the help.
But I am finding an error with the program.cs file.
Is it because it is declared in the Form itself as 'static class program'?
I am getting an error
The namespace 'NotifyIcon_AutoStartSample' already contains a definition for 'Program'
JPais
24-Jun-13 0:21am
View
Sorry for the unclear question.
with the word 'event' I meant to say the entry in the calendar app.
Let me clarify it.
what I want is
My app takes in input of dates to be remembered (This part is done)
But when I ON the System I want the app to show the reminder if triggered (that is the event is on that particular day), the app should alert the user with an alarm and a balloon message using the notifyicon without the user starting the app separately.
I also have more doubts..
You said that NotifyIcon" cannot run without the app running, so..
1. If my app is able to trigger the reminder, will my app be running in the background?? (Because I thought only the notifyicon can be initialized at System startup and the app is not required. Sorry for this.. I am using the notifyicon for the first time)
2. Does it use up a lot of memory??
Thank You for your help.
JPais
10-Apr-13 9:30am
View
My code...
query = "INSERT INTO detail2 VALUES(@id,@pic)"
cmd.Parameters.AddWithValue("@id", Label33.Text)
Dim ms As New MemoryStream()
PictureBox7.BackgroundImage.Save(ms, System.Drawing.Imaging.ImageFormat.Bmp)
Dim imgData = ms.ToArray
ms.Close()
Dim data1 As Byte() = ms.GetBuffer()
Dim p As New SqlParameter("@pic", SqlDbType.Image)
p.Value = data1
cmd.Parameters.Add(p)
ExecuteDataBaseQuery(query)
MessageBox.Show("Tag & Image has been saved", "Save", MessageBoxButtons.OK)
JPais
10-Apr-13 9:00am
View
thanks anyways..
can u pls help me with the query i posted below..
Do u have any idea why i am getting this exception and error
JPais
10-Apr-13 8:53am
View
sorry..dint get u??
i have made a function which contains the entire try catch block..
Which i call just after the query.
It only displays the image in datagrid view.
I too don't know how to get it in picture box, I am working on it.
JPais
10-Apr-13 8:47am
View
HiI have a button on whose click I have the following tasks carried out
1. Captures image from webcam
2. stores it in database
on first click of button, this process carries out successfully but on the next click i get this exception
A variable name '@id' has already been declared. Variable names must be unique within a query batch or stored procedure.
here id is the name of the number i used to identify the image associated with it.
On the next button click i again get this exception and then the program crashes with this error
Invalid attempt to call Read when reader is closed.
Pls help...
JPais
10-Apr-13 8:24am
View
Sorry Sir.
I am new to code project.
JPais
10-Apr-13 8:23am
View
extremely sorry for the late reply..
I am not retrieving the image in picturebox, instead i am just displaying it in datagrid view.
I am using the following code in textbox_change
query = "select * from detail4 where tag like '" & TextBox1.Text & "%'"
Try
DataGridView1.DataSource = Nothing
OpenConn()
Dim da As SqlDataAdapter = New SqlDataAdapter("", sql)
da.SelectCommand = New SqlCommand(query, sql)
Dim ds As New DataSet
da.Fill(ds)
If ds.Tables.Count > 0 Then
DataGridView1.DataSource = ds.Tables(0).DefaultView
End If
sql.Close()
Catch ex As Exception
MsgBox(ex.Message)
End Try
again sorry for da late reply..
JPais
31-Mar-13 6:51am
View
"Value cannot be null. Parameter name: encoder" at
PictureBox1.BackgroundImage.Save(ms, PictureBox1.BackgroundImage.RawFormat)
Show More