16,004,727 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 Madhuri Gamane (Top 58 by date)
Madhuri Gamane
30-Jan-16 7:34am
View
I want compress one, so i think code 128 is best for that
Madhuri Gamane
29-Jan-16 0:50am
View
^[A-Z]{2}[ -][0-9]{1,2}(?: [A-Z])?(?: [A-Z]*)? [0-9]{4}$ Try This
Madhuri Gamane
29-Jan-16 0:44am
View
http://stackoverflow.com/questions/2032742/sql-like-operator-to-get-the-numbers-only
Check it. It may help you.
Madhuri Gamane
21-Jan-16 1:41am
View
You can use datagridview events
Madhuri Gamane
6-Jul-15 4:10am
View
no actually having three authentication as Accountant, supervisor and many users.
I will try for using array..
thanx :-)
Madhuri Gamane
6-Jul-15 2:48am
View
in my another i have used same solution, coz i was having only 7-8 forms, but in this case i am having more than 50 forms, so will it feasible to declare all form's variable as Global ??
Madhuri Gamane
2-Jul-15 8:14am
View
frmuser is a type but used as a variable :-(
Madhuri Gamane
30-Jun-15 0:35am
View
yeah all systems are in same domain..
Sorry but your link is not giving me any answer :-(
Madhuri Gamane
16-Jun-15 8:36am
View
can u help me ??
i think your ans can help me...
this is my functions for com ports
[DllImport("MSPorts.dll")]
public static extern Int16 ComDBOpen(ref UInt32 PHCOMDB);
[DllImport("MSPorts.dll")]
public static extern long ComDBClose(UInt32 PHCOMDB);
[DllImport("MSPorts.dll")]
public static extern long ComDBReleasePort(UInt32 PHCOMDB,int ComNumber);
ManagementObjectCollection mReturn;
ManagementObjectSearcher mSearch;
mSearch = new ManagementObjectSearcher("Select * from Win32_SerialPort where name like '%MyDevice%' ");
mReturn = mSearch.Get();
string com = "";
string str1 = "";
foreach (ManagementObject mObj in mReturn)
{
str1 = mObj["Name"].ToString();
com = mObj["DeviceID"].ToString();
}
Int16 idsfdf1 = ComDBOpen(ref PHCOMDB);
long lng1 = ComDBReleasePort(PHCOMDB, 3); // if com3 is busy release it as // i want com port 3
long dsfdf1 = ComDBClose(PHCOMDB);
_serialPort = new SerialPort("COM17", 9600, Parity.None, 8, StopBits.One); // want // to transfer com 17 to com 3
now com should return com3
mSearch = new ManagementObjectSearcher("Select * from Win32_SerialPort where name like '%MyDevice%'");
mReturn = mSearch.Get();
foreach (ManagementObject mObj in mReturn)
{
str1 = mObj["Name"].ToString();
com = mObj["DeviceID"].ToString();
}
am i wrong somewhere ??
Madhuri Gamane
16-Jun-15 3:20am
View
how it will change com 17 to com 1 ?? for installed driver ??
Madhuri Gamane
12-Jun-15 8:02am
View
Yes i have already contact to manufacturer...
and he suggest me this solution to change com port from device manager :-|
Madhuri Gamane
18-Dec-14 2:00am
View
is there any provision for adding images here ?? if yes plz do tell me so that i can add images here
Madhuri Gamane
11-Dec-14 4:58am
View
Got the Solution
string str = "[" + s.Trim() + "]='" + s1.Trim() + "'";
dv.RowFilter = str;
Madhuri Gamane
1-Dec-14 23:29pm
View
thank you
Madhuri Gamane
1-Dec-14 23:29pm
View
Thank you
Madhuri Gamane
28-Nov-14 5:24am
View
Thanx but not working
Madhuri Gamane
28-Nov-14 2:14am
View
have tried it, it doesnt work
Madhuri Gamane
28-Nov-14 2:12am
View
MySql Dont Has NVARCHAR datatype
Madhuri Gamane
17-Nov-14 23:48pm
View
Thank you
Madhuri Gamane
17-Nov-14 4:37am
View
you r write, it is what i mean. but i want it at client side
Madhuri Gamane
5-Nov-14 3:38am
View
Thank you very much, it works... :-))
Madhuri Gamane
3-Nov-14 6:58am
View
in my application gridview don't have post back property
Madhuri Gamane
22-Oct-14 0:51am
View
yeah, and it works.....
Madhuri Gamane
21-Oct-14 8:37am
View
Thank you..
path must be Response.Redirect("~/ExcelFiles/" + fileName);
Madhuri Gamane
21-Oct-14 8:32am
View
off course
Madhuri Gamane
21-Oct-14 7:54am
View
Response.Redirect was not working, so i checked is it working for Response.write or not, but here is also not working...
Madhuri Gamane
21-Oct-14 7:52am
View
path is correct, if i copied same path and paste in another tab it opens....
also in folder's address bar it works..
Madhuri Gamane
21-Oct-14 7:51am
View
No..
Madhuri Gamane
18-Oct-14 9:02am
View
got the ans for (int i = 0; i < GridView1.Rows.Count+1; i++)
Madhuri Gamane
18-Oct-14 8:01am
View
Wow.. thank you yaar....
.
it works, there was a update panel for ddlgodawnName
Madhuri Gamane
14-Oct-14 2:33am
View
can i don't get it without pressing enter ??
i want it on each keypress
Madhuri Gamane
14-Oct-14 1:13am
View
<asp:TextBox ID="txtSearch" runat="server" Width="269px"
ontextchanged="txtSearch_TextChanged" AutoPostBack="True">
it dont goes to "txtSearch_TextChanged" when i type in text box, but goes when i type and enter
Madhuri Gamane
11-Oct-14 5:30am
View
it is not a datatype..
it is Name of Column in which time gets saved..
Madhuri Gamane
7-Oct-14 8:23am
View
it is not that matter, i haven't code yet, i am get confused, what code to do? that's why i asked a question..
Madhuri Gamane
7-Oct-14 8:10am
View
Code ??
Which Code ?
i just have menu bar and sub menus in that menu,
so i just want to invisible that on user change on logon..
Madhuri Gamane
29-Sep-14 7:01am
View
thanx..
Madhuri Gamane
29-Sep-14 5:59am
View
public void fun1()
{
ComboBox2.Items.Add("A");
ComboBox2.Items.Add("B");
ComboBox2.Items.Add("C");
ComboBox2.Items.Add("D");
}
public void fun2()
{
ComboBox2.Items.Add("E");
ComboBox2.Items.Add("f");
ComboBox2.Items.Add("g");
ComboBox2.Items.Add("h");
}
.
.
.
.
public void fun50()
{
ComboBox2.Items.Add("i");
ComboBox2.Items.Add("j");
ComboBox2.Items.Add("k");
ComboBox2.Items.Add("l");
}
private void comboBox1_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
int ch = 0;
switch (ch)
{
case 0:
fun1();
case 1:
fun2();
.
.
.
case 49:
fun50();
}
}
// Instead Of this can i write
private void comboBox1_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
int i= ComboBox2.SelectedIndex;
fun+ i +();
}
// Is it possible or any other so i can write only one function instead of 50 cases ?
Madhuri Gamane
25-Sep-14 3:34am
View
Deleted
You haven't got my question. isn't it ??
.
i know i can use TextBox, TextBlock, Label but ComboBox ??.
.
i want to let user to see where he is now ?
on which window and how he travel till there...
.
i tried by using hyperlinks, but no of hyperlinks are increasing with windows, and i want to avoid that..
Madhuri Gamane
24-Sep-14 3:33am
View
I haven't create any row and column defination.
but place all controls, i.e labels and textBoxes Directly on grid control
Madhuri Gamane
24-Sep-14 0:32am
View
sorry, but i don't got your ans..
Madhuri Gamane
20-Sep-14 7:35am
View
and what is that ?
Madhuri Gamane
20-Sep-14 1:28am
View
if you want to use both win forms and web forms, you must make separate applications for each :-)
Madhuri Gamane
20-Sep-14 0:41am
View
Thank you..
But i used this one..
Designation = ((ComboBoxItem)cmbdesignation.SelectedItem).Content.ToString();
Madhuri Gamane
20-Sep-14 0:19am
View
in wpf combobox dont has SelectedIndexChange event..
Madhuri Gamane
20-Sep-14 0:16am
View
private void cmbdesignation_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
ClearAll();
if (cmbdesignation.SelectedItem != null)
{
Designation = cmbdesignation.Text; // it gives previous value (suppose i select teacher and prev was student, it still showing "Student")
Designation = cmbdesignation.SelectedItem.ToString(); // it gives "System.Windows.Controls.ComboBoxItem: Teacher"
}
}
Madhuri Gamane
20-Sep-14 0:09am
View
it gives Error at .Tag
"Object reference not set to an instance of an object."
Madhuri Gamane
18-Sep-14 3:45am
View
Ok. thank you sir, i will try to convince him.
Madhuri Gamane
18-Sep-14 3:14am
View
actually the application is deployed,
.
client don't have internet connection, and also not ready to change CMOS cell.. :-(
Madhuri Gamane
17-Sep-14 8:53am
View
if you are having id field on grid view, take one more one more column (i.e. status) in table and update that status from 0 to 1
when that row get select..
for that you have to select select single row at a time, so that you will get
its row index.
now when quering for report check report and select fields you want.
hope this will help..
Madhuri Gamane
17-Sep-14 8:39am
View
are you assigning insert to varchar ??
and is there no need of table creation ?
Madhuri Gamane
13-Sep-14 4:00am
View
wow, its really nice..
thanx..
Madhuri Gamane
13-Sep-14 3:56am
View
thanx.. its nice.
i use this one..
<LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
<gradientstop color="lightBlue" offset="0.593">
<gradientstop color="aliceblue" offset="0">
<gradientstop color="WhiteSmoke" offset="0.279">
<gradientstop color="#FFFDE6FF" offset="1">
</LinearGradientBrush>
how is it ??
Madhuri Gamane
13-Sep-14 3:26am
View
thanx..
Madhuri Gamane
13-Sep-14 1:13am
View
thanx for solution, it works...
Madhuri Gamane
12-Sep-14 8:31am
View
yeah it works.. thanx :-)
Madhuri Gamane
12-Sep-14 5:42am
View
Grid view don't have keypress event, you should call cellEndEdit event
Madhuri Gamane
9-Sep-14 6:48am
View
thnx..
Madhuri Gamane
9-Sep-14 2:11am
View
ok, i got how to add or remove reference, but can i add web API for Desktop API ?
Show More