15,907,001 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 Python 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 varun150 (Top 66 by date)
varun150
17-Oct-16 0:43am
View
this is very old question but thankyou for answering as it gives a nice alternative way.,
varun150
11-Jan-16 7:22am
View
L = (11 * C + 35) * X
where:
L = Overall length (not including Quiet Space)
C = Number of DATA characters (not including START, CHECK, or STOP)
X = length of x-dimension
Example: Code128 -> C = 7, X = 0.010"
L = (11 * 7 + 35) * 0.010” = 1.120” without Quiet Zones
or 1.120” + 2 * Max(10 * 0.010”, 0.25”) = 1.370” with Quiet Zones
Example: Code128Barcode -> C = 14, X = 0.010"
L = (11 * 14 + 35) * 0.010” = 1.890” without Quiet Zones
or 1.890” + 2 * Max(10 * 0.010”, 0.25”) = 2.140” with Quiet Zones
http://www.precisionid.com/code128-barcode-faq.aspx
according to this formula we can set barwidth to 0.010 but problem is how to draw an image out of it
it takes all integer values to draw a rectagular bar .
Grafics.DrawRectangle()
https://msdn.microsoft.com/en-us/library/system.drawing.graphics.fillrectangle(v=vs.110).aspx
this software gives flexibility to adjust width like i want
http://www.barcodemaking.com/
it lets you reduce width by specifying width in mills. or pixels ,i want something like that.
varun150
11-Jan-16 0:16am
View
i used 'zxing.net' to draw barcode
http://zxingnet.codeplex.com/
but it makes 15 character string 134 pixel wide,apart of zxing i found no library which can draw barcode in vary small width(90-100 pixel 15 chars).
mostly online library has parameters for barcode height,bar weight,margin
i have no clue how to contain it in less width.
varun150
24-Apr-15 5:55am
View
i found it myself.
Click add remove buttons -> Customize ->Add tool bar -> Check text Editor check box.
problem was i didn't knew what this toolbar called.
somebody told me to enable it from view menu but in view menu text editor was already enabled.
varun150
23-Apr-15 21:23pm
View
http://www.skorkin.com/files/2012/05/VisualStudioTextEditorBookmarsToolbar.png
look at the image above i want this toolbar in visulal studio 2012.
varun150
21-Apr-15 1:27am
View
yes i Want to bookmark a line of code?
but i dont know how to add bookmark icon and navigation icon within bookmarks to the toolbar.
varun150
20-Apr-15 5:04am
View
i want bookmark code lines but default texteditor toolbar dosnt have it. i tried adding a tool but i cant find it.
text editer is viewable by default.
varun150
11-Apr-15 1:45am
View
i put the base64string in session and it worked,Lol silly me,Thankyou so much.
varun150
3-Mar-15 5:42am
View
so sorry,sir i had only one class in bal project and i forgot to add that class in namespace thats why i was gettin error on while writng Using Bal at default.aspx.cs despite having at as a reference in wesite.
thankyou so much for your response you get me ideas
varun150
3-Mar-15 2:48am
View
can you tell me why cant i reference bal in default.aspx.cs
like using bal;
varun150
3-Mar-15 2:09am
View
please suggest me i dont know what i am doing.
varun150
6-Feb-15 5:00am
View
but problem is that when i put update pannel even outside of grid or inside of grid then no page content is visible.
varun150
6-Feb-15 4:03am
View
what can i do then?
varun150
5-Feb-15 6:24am
View
i'd store it on var value=$(dialog).open('dialog'); something like this?
varun150
5-Feb-15 6:06am
View
you are right but my form already so big so i wanted to do it easier way for user moreover i on another form i want this popup for entry of some details
varun150
3-Feb-15 1:29am
View
i wanted to pass a integer variable to database.
varun150
3-Feb-15 0:16am
View
Deleted
i wanted to pass a integer variable to database.
varun150
3-Feb-15 0:07am
View
Deleted
both answer is a solution for me. but i have to select one i'd choose griff as he asnswerd me a lot on this forum. :)
varun150
3-Feb-15 0:05am
View
thanks for your response! griff i thought there would be something like val() in vb.net thats why asked this question.
in vb.net all i did is use val() function it returns integer from string.
varun150
31-Jan-15 7:22am
View
if i get date by datetime.now then its ok but
i took this date value from jqueryui datepicker and when it raised out of range excepion then i converted to specific format. is there something more easy and better?
i pass parameters to store proc and this stored proc does transactions i do not pass sql Querystring to database as it makes my pages a bit slow but i didnt knew sqlinjection thing .
thankyou soo much for guiding me.
is there anything else i can do for sake of best practice.
varun150
31-Jan-15 4:35am
View
yes yes i pass it to database. please tell me if there is something more to this.
varun150
30-Jan-15 5:19am
View
string date32 = dt.ToString("yyyy-MM-dd");
it worked thanks.
varun150
20-Jan-15 7:58am
View
jquery and javascript is such a nightmare to me ,plelse...
varun150
20-Jan-15 7:56am
View
thankyou so much for your kind reply,
are you calling a javascript function by jquery i dont understand please explain a bit.
i think its a javascript syntex...
function FunctionName(name){
alert(name);
}
varun150
20-Jan-15 7:27am
View
i need a named function so that i can pass a parameter too later on but its not working.
varun150
22-Dec-14 4:23am
View
^([-+][1-9][0-9]*)((\s(([1-9][0-9]*)\/([1-9][0-9]*)))*|(\/([1-9][0-9]*))*)$
varun150
22-Dec-14 4:23am
View
iadded this at begining[-+] it shuold be acuurate its workin though.
varun150
22-Dec-14 4:20am
View
what if this fraction or non fraction have - or + sign like +3 or -3/5 or -1 3/5
varun150
22-Dec-14 4:18am
View
thank you so much for help.
i think [0-9] was culprit that matched the null value.
varun150
22-Dec-14 4:06am
View
can you please tell me how this diagram can help me correct my regex.
please explain to this newbie your help is much appriciated.
varun150
22-Dec-14 3:49am
View
im new to regex i still do not understand diagram at regexper.com
varun150
22-Dec-14 3:48am
View
it should match 2 or 2/3 or 2 2/3 with one space only.
varun150
22-Dec-14 3:45am
View
it should match 2 or 2/3 or 2 2/3 with one space only.
varun150
15-Dec-14 7:14am
View
i talked to them they dont know what it is.
varun150
15-Dec-14 7:11am
View
ok.
varun150
15-Dec-14 6:46am
View
i am converting to string whatever dataReader returns but you are right,I dont know what format datareader using to return varchar2 from sql.
and i dont even how to know the datatype returned by datareader.
varun150
15-Dec-14 6:12am
View
Are asking encoding in oracle database ,its set to default.
columns datatype is Varchar2 in oracle database table
and i m fetching it using oracle datatable
then converting to string then showing in Datagrid.
tell me what format you are asking if i am wrong.
http://i.stack.imgur.com/Heubs.jpg
varun150
15-Dec-14 5:48am
View
i do not understand this..
VARCHAR2 data is stored as variable length values: at http://www.orafaq.com/wiki/Varchar2.
what does it mean variable lenght values.
Does it mean lenght of variable in bytes and thats how calculate column lenght for storage.
How can it change the text to be displayed on windows form.
varun150
15-Dec-14 4:50am
View
if i view this data in Oracle(Toad) then it fine but it displays a non readable format
in my windows forms app
Converted Data has datatype Varchar2 in Oracle Length 20
varun150
28-Aug-14 1:47am
View
i m using microsofts provider for sql ....i tried bytestream conversion into unicode ,utf-8 ,ascii-7 nad more formats programatically but it didnt worked.
and the link u shared says ...oracleConnection.Unicode = true; but its not supported ..
i m using ms provider hes using devarts.
varun150
30-Sep-13 8:06am
View
i did that but vstudio deleted it after i clicked build for .resx of another language that hurt me a lot :'-( please help.
varun150
24-Sep-13 12:29pm
View
its working ok if i use window.onload alert() in RegisterStartupScript() but how to generate browser's window for information box in asynchronously otherwise my problem is solved
varun150
24-Sep-13 12:29pm
View
Deleted
its working ok if i use window.onload alert() in RegisterStartupScript() but how to generate browser's window for information box in asynchronously
varun150
22-Sep-13 7:47am
View
this.Page.ClientScript.RegisterStartupScript();
return;
is working but it doesnot shows the controls after this code untill we click ok on message box___________
for exapmle i want the same effect as it shows on codeproject after something goes wrong on posting comment it says "our server is overworked problem on posting comment or something like that" and it shows message box everything on page that was before clicking submit
varun150
10-Sep-13 13:35pm
View
i found some other way to do it, thank you so much for your try;
varun150
8-Sep-13 23:31pm
View
thanks but how to load images from different rows(but 3 in number) of same table in same gridview , do i really need image handler ,if yes then what value should i pass to handeller , or can be be done by without image handler .......please i m stuc
varun150
8-Sep-13 14:33pm
View
i found nothing better than this
varun150
8-Sep-13 13:01pm
View
i need these three images on gridview from different rows of same table
varun150
8-Sep-13 12:41pm
View
lolz .....i thought u'd give me some general idea at least whether it was possible or not. but okk i try to put some code here
varun150
8-Sep-13 12:38pm
View
lolz i thought u'd give me some general idea , atleast u'd tell it even possible or not but okk i understand you
varun150
8-Sep-13 10:58am
View
i like this site its response time is great
varun150
4-Sep-13 2:30am
View
okk sir you win i'll be back with specific issue :-)
varun150
3-Sep-13 8:43am
View
have you gone through then help me for this time atleast i'd be glad to know how knowledgeble you were
varun150
3-Sep-13 5:33am
View
i don't have much time to read these articles so can u just gimme a hint for design patters
varun150
9-Mar-13 11:43am
View
you are rite sir,you got my question i meant to save data in ,string ,list ,arry etc. but problem
would appear to map these data to table correctly i dont know how to that , i need to save data in large table........or can we make table,row ,column,etc in code..
thanks a lot sir for you tried to understand my the problem
varun150
19-Jan-13 6:53am
View
not every text but data from calander extender ajex toolkit in this ("dd/MM/yyyy")format should be parsed , tell me if i m wrong
varun150
15-Jan-13 3:35am
View
thank you so much
varun150
15-Jan-13 3:14am
View
error occurs at following code:
DateTime date = DateTime.ParseExact(txtdate.Text, "dd/MM/yyyy", null);
varun150
15-Jan-13 3:14am
View
there's no exact step i think this error occurs sometime only,
[
when i post date from the text box to database it gives an error i.e. string was not a valid datetime object something like this i don't remember it exactly.
but i refresh the page and post the same date again it shows no error
]
varun150
15-Jan-13 3:10am
View
error occurs at following code:
DateTime date = DateTime.ParseExact(txtdate.Text, "dd/MM/yyyy", null);
varun150
15-Jan-13 3:05am
View
when i post date from the text box to database it gives an error i.e. string was not a valid datetime object something like this i don't remember it exactly.
but i refresh the page and post the same date again it shows no error
varun150
12-Jan-13 4:55am
View
@Sandeep Mewara
both are not working but i atleast got an error :-) with first one it says "'System.Data.DataRowView' does not contain a property with the name 'MovieName' ". although your help is apriciated.
varun150
12-Jan-13 1:11am
View
this query is not returning anything!
varun150
27-Sep-12 22:58pm
View
thanx sir
varun150
27-Sep-12 22:58pm
View
Zipped files on articles
varun150
27-Sep-12 22:57pm
View
It always happen with me. no download even of m logged in.
Show More