Click here to Skip to main content
15,064,665 members

Comments by vishal_h (Top 111 by date)

vishal_h 6-Jul-21 0:22am View
   
Yes Server will decrypt the file because service having decryption key . And only client application can encrypt file as client is also having encryption key so message in transmission cant be view with the help of any hacking tool.
vishal_h 5-Jul-21 10:52am View
   
but in transaction file want to create end to end encryption over https so looking for solution.
vishal_h 5-Jul-21 10:16am View
   
I want to create .net core web api which will allow file upload so i have two options as
1) IFormFile - where no file encryption with AES option i have seen
2) send encrypted file content and create file at server end but limitation is size of string.
Please let me know better alternative if know
vishal_h 5-Jul-21 9:49am View
   
Index and partitioning is already in place but the issue with concurrency as we have to calculate the SUM(Amount) on the fly to validate each concurrence request.
vishal_h 30-Dec-20 2:59am View
   
I tried same but getting same error.
vishal_h 16-Oct-15 1:29am View
   
hi actually my service is getting xml data string from other service and i am returning that as it is.the problem is my return type is string so middle ware is converting the xml tag to < >
vishal_h 16-Oct-15 0:42am View
   
i dont have client code and client is having middleware which converting the result so
they are asking to change the code at server side is it possible ?
vishal_h 30-Sep-15 0:57am View
   
It was problem with my store procedure as in that SP output variable is used in select statement to set the value rather than using set statement.
vishal_h 29-Sep-15 5:59am View
   
Sir above solution will work but i am talking about SQL Helper class which is microsoft generic utility.
vishal_h 27-Mar-15 5:56am View
   
I want to display value of that varchar column is if numeric then show in numeric(18,2) format otherwise whatever be the value just show.whether it is varchar or anything.
vishal_h 27-Mar-15 5:56am View
   
I want to display value of that varchar column is if numeric then show in numeric(18,2) format otherwise whatever be the value just show.whether it is varchar or anything.
vishal_h 30-Nov-14 9:47am View
   
But if some one try to change the response using tool like Burp Suite then how to secure.
vishal_h 27-Oct-14 8:05am View
   
Thanks for reply but there is no master page.
vishal_h 1-Oct-14 1:15am View
   
Can i used netTcpBinding as client is outside the firewall of Server where the service is host.
vishal_h 8-Aug-14 4:12am View
   
Tester have tool where they are monitoring request to the server and getting session value
vishal_h 5-Aug-14 4:59am View
   
Considered there are tow role NormalUSer and Admin and if hacker is NormalUSer and trying to access the site using admin session then its a issue.
vishal_h 24-Jul-14 0:20am View
   
Thanks for reply.Is there any data Size limitation when converting XML into STring.
And if any ways i want to return XML from WCF then what will be the solution.
vishal_h 22-Jul-14 0:23am View
   
Thanks for reply. But in Oracle how can it achieved.
vishal_h 8-Jul-14 6:21am View
   
Thanks,but actually i want to avoid this bcz my application contains 300 pages and i cant do changes in all 300 web pages.
vishal_h 8-May-14 4:48am View
   
But if IP address assign dynamicaly then
vishal_h 28-Apr-14 1:17am View
   
I try this http://www.codeproject.com/Articles/142064/Step-by-Step-Creation-of-Crystal-Report-using-its
vishal_h 16-Apr-14 0:20am View
   
Tradit i have one doubt after using above method if etag remove from response then advantage of etag related to caching will not get or it justs disallowed to see etag in response.
vishal_h 27-Mar-14 7:47am View
   
what {1,9} represent in wildcard
vishal_h 21-Mar-14 0:40am View
   
it fails when input is
declare @phone varchar(50)
set @phone='sdf%d'ff$%'
vishal_h 14-Mar-14 1:09am View
   
Thanks,I want to handle this in store procedure where string is aplha numeric with specified list of special character allowed.what should i do.
vishal_h 7-Mar-14 2:39am View
   
I changed the code but still is giving me same problem
<asp:CompareValidator ID="CompareValidator1" runat="server" EnableClientScript="true"
ControlToCompare="txthdnREsult" ControlToValidate="txtCaptcha" Operator=Equal
ErrorMessage="Invalid Captcha Entered." ValidationGroup="Test">
vishal_h 7-Mar-14 2:25am View
   
by default operator is equal so i didnt specifed.
vishal_h 12-Feb-14 23:54pm View
   
Thanks for reply but now its giving me error after adding in web.config.<rewrite> allow to add but giving message as the element rewrite has some invalid argument 'outboundRules'
vishal_h 12-Feb-14 7:14am View
   
When i write inside system.webserver . It says system.webserver has invalid child element rewrite.
vishal_h 12-Feb-14 6:19am View
   
Thaks for reply but my web.config file not allowing to add above code in system.webserver
vishal_h 11-Feb-14 4:12am View
   
I tried the same but not works on firefox 20.0.1 as able to navigate in offline mode with back button.
vishal_h 7-Feb-14 5:16am View
   
I write below code but still not able to work in firefox 20.0.1

Response.AppendHeader("Cache-Control", "no-cache") '
Response.AppendHeader("Cache-Control", "private") '
Response.AppendHeader("Cache-Control", "no-store") '
Response.AppendHeader("Cache-Control", "must-revalidate") '
Response.AppendHeader("Cache-Control", "max-stale=0") '
Response.AppendHeader("Cache-Control", "post-check=0") '
Response.AppendHeader("Cache-Control", "pre-check=0") '
Response.AppendHeader("Pragma", "no-cache") '
Response.AppendHeader("Vary", "*")
Response.AppendHeader("Expires", "Mon, 26 Jul 1997 05:00:00 GMT")
vishal_h 7-Feb-14 2:06am View
   
Thanks for the reply but above solution not work on Firfox as its showing the content after click on work offline and click on back button.Solution works on IE properly.
vishal_h 7-Feb-14 0:17am View
   
Thanks guy but i am also searching for the same but not get solution and above code is working fine for IE but not for Firefox.
vishal_h 18-Sep-13 13:46pm View
   
thanks fro reply.i have posted code in question is there any thing u can help in this scenario.
vishal_h 29-Aug-13 1:57am View
   
Deleted
Thank's for reply ...
There is no predefined size for hash its a string.eg.String a = Encrypt("test");
Is there any rule to pass specified size of data to get 48 bytes encrypted data.if possible can u say me the way where should i call the same to get desired output size.
vishal_h 20-Mar-13 0:34am View
   
thanks for reply..but in my requirement i want to allow sign only at start of the numeric value.
vishal_h 27-Feb-13 6:25am View
   
Then if i have n number of text boxes and i want to fix it into small area then if i decrease the height of textbox it will also effect my font size whether i dont want margin from text to textbox border..
vishal_h 26-Feb-13 12:33pm View
   
I want to set font size to 15 px on text box of height 18 px...I set padding to zero but it does not work..
vishal_h 19-Feb-13 23:01pm View
   
I want to send data in above xml format to receiver which contains data in encrypted format,signature and certificate.
vishal_h 28-Jan-13 11:08am View
   
thank you for your reply but my requirement is such that i want to show many text boxes in application in table format so i cant exceed height of each text box more than 15 px then what should i do at design time.To write a code for each text box is not feasible.
vishal_h 28-Jan-13 11:05am View
   
but in application text box height want to keep 15 px with font size 10px then what to do.Is any way to set it at design time or for each text box need to write code which is not feasible.
vishal_h 21-Sep-12 8:07am View
   
Yes Tushar
vishal_h 18-Sep-12 4:55am View
   
But if change the .exe file wxtension with .xls and upload then your above filter will allow.
vishal_h 27-Aug-12 7:39am View
   
Is there any example for this in vb.net..
vishal_h 19-Jul-12 7:12am View
   
I have added solution ..
vishal_h 30-Mar-12 2:29am View
   
I used image object as
imgThumb = img.GetThumbnailImage(115, 115, Nothing, New IntPtr())
for generating thumbnails and finally i am doing
img = Nothing
objPic = Nothing
imgThumb = Nothing
but still problem is coming
vishal_h 7-Mar-12 4:09am View
   
but my other all parameters are string and one parameter is byte array which is byte array of one of tthe zip file..as
sArr.add("@image",ImageData)
sArr.Add("@timecode," & Format(CDate(dtp.Text), "dd-MM-yyyy"))
but it not accepting
vishal_h 19-Jan-12 7:49am View
   
Deleted
thank you..but is there any solution for this problem..where i can differntiate this error.because now if session timeout it gives internal server error or if any other server error occure it gives same internal server error as xhr value..
vishal_h 22-Dec-11 0:43am View
   
I tried it already but it will abort on click of first cancel button instance..
I am providing seperate cancel button for each file upload progress for that file only...
vishal_h 21-Dec-11 4:42am View
   
Thank you..but this is my link where exact scenario is required..i tried your sabove solution but its not working...can you help me on belowlink..
http://www.codeproject.com/Questions/303340/Abort-file-upload-on-click-of-cancel-button-in-htm
vishal_h 15-Dec-11 0:50am View
   
But what is Fileupload ..And in which namespace is it define ...i am using ASp.net MVC3 with C#...
vishal_h 3-Dec-11 1:00am View
   
thank you...
vishal_h 1-Dec-11 7:47am View
   
and sir what is that syntax call of java script... (function () {})()
in this code...and there is no type=text/java script...so how still it working...
can you tel me sir..
vishal_h 1-Dec-11 5:51am View
   
http://www.matlus.com/html5-file-upload-with-progress/
http://exposureroom.biz/upload.aspx

if u see this link same problem happen..in crome perfectly work but in mozilla give problem...but load event execute and give response..but author say that it works in mozilla but actualy it give problem....
vishal_h 1-Dec-11 4:17am View
   
hii sir..now my above code perfectly work in crome..but progress event is not going to call in mozilla.....directly load event is call...
vishal_h 1-Dec-11 3:45am View
   
thanks sir...my call to controller go and but before its return value my load event is call in crome...and in mozilla my progress event doesnt call directly load event call..
vishal_h 27-Nov-11 12:26pm View
   
Deleted
thanks..hii Manoj but i want to used it with ajax and that eample is with redirection...and if i used ajax then i cant used enctype = "multipart/form-data" option...do u know any other example or help..
vishal_h 24-Nov-11 8:58am View
   
i updated my question...thanks..
vishal_h 7-Nov-11 6:22am View
   
thanks..i have posted my code..
on same tab item it open properly for multiple times..but when i switch to next tab and return it gives me error..
vishal_h 7-Nov-11 6:15am View
   
//Create Dialog Box for Add Shape Comment
$("#DialogAddShapeComment").dialog({
title: "New Shape Comment",
autoOpen: false,
modal: true,
height: 300,
width: 270,
resizable: false,
close: function () {
$(".comment").css('backgroundColor', '#2B3238');
}
});
vishal_h 21-Oct-11 1:37am View
   
thanks sir but i want to add that two value from client side and onclick of submit button i want send total list to controller..
vishal_h 3-Oct-11 4:39am View
   
by using HTML5 is there any same example
vishal_h 3-Sep-11 6:25am View
   
thank u sir..but i want to used wcf service which will make edit operation..like on above link wcf select data and return...how to do...
vishal_h 13-Aug-11 3:28am View
   
thank u sir...but should i get example where this concept used..
vishal_h 5-Aug-11 8:10am View
   
I try it but it gives me nullReferenceException and warn me to used new keyword..
if i used new like Person item=new Person()...then it gives error in foreach(item in MyList) line....what should i do sir
vishal_h 18-Jun-11 6:11am View
   
Sir i refer this http://www.codeproject.com/KB/WPF/WPFRichTextEditor.aspx link..download and working with this..
but i have two GB data which is in .htm extension and not opening in that rich text box..
could you please help me..i try at my best but as i am fresher i am not getting...
vishal_h 18-Jun-11 6:01am View
   
thanks but i am using VS2008 and that application is in vs2010 so some method are not working...
vishal_h 11-Jun-11 4:55am View
   
thank sir but what should i write here
private void button1_Click(object sender, RoutedEventArgs e)
{
DataRow[] result = dt.Select("PO >= 2");
// AND Sex = 'm'");
foreach (DataRow row in result)
{
MessageBox.Show(row[3].ToString());

}
}

Insted of message box i want to write here code to change the color and in message box i am getting the value of offline...
can you help me sir
vishal_h 11-Jun-11 3:10am View
   
thanks but Sir my application is Window application not web..i already see this link and try some R&D but not helpful..please any thing else source..
vishal_h 11-Jun-11 1:51am View
   
Sir i am not getting what exactly i have to write here
foreach (DataRow row in result)
{
--- here i want to change the color from red
to green ----

}
vishal_h 4-Jun-11 4:45am View
   
thank you sir..but if i want to deploy that application on client machine and client doesnt have D:\drive ..means what standrd path should i provide..it is right if i provide path like.. string path = AppDomain.CurrentDomain.SetupInformation.ApplicationBase ; conn.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+path +@"\info.mdb";
vishal_h 4-Jun-11 4:45am View
   
Deleted
thank you sir..but if i want to deploy that application on client machine and client doesnt have D:\drive ..means what standrd path should i provide..it is right if i provide path like..
string path = AppDomain.CurrentDomain.SetupInformation.ApplicationBase ; conn.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+path +@"\student.mdb";
vishal_h 4-Jun-11 2:45am View
   
thnk you..is it right sir whether i am correct..
Server name means the machine name where server application running..
share name i didnt understand..
folder means whithin that database inside in server machine..
vishal_h 2-Jun-11 6:29am View
   
OK sir...thank you..
vishal_h 2-Jun-11 6:18am View
   
Sir but it every time giving me same name..on every right click..why..please help me..
vishal_h 1-Jun-11 4:20am View
   
Ok sir
vishal_h 1-Jun-11 3:23am View
   
thank you sir i have done it
vishal_h 1-Jun-11 1:00am View
   
hii Abhinav Sir Should i get the GameModel class code ...
vishal_h 31-May-11 8:54am View
   
thank you sir but where should i add this covert class..could you give me whole .cs file and what should i write at #unknown..
vishal_h 31-May-11 8:15am View
   
its not work..sir i have posted question becouse i added the image in grid but it added in all column..
vishal_h 31-May-11 3:08am View
   
ok....sir but i have another doubt related to same questio and i currently posted on question could you help me..
vishal_h 31-May-11 2:40am View
   
xaml code is
<grid>
<my:datagrid autogeneratecolumns="False" margin="178,41,175,82" name="dataGrid1" grid.row="1"
="" verticalalignment="Top" itemssource="{Binding}">
<my:datagrid.columns>
<my:datagridtemplatecolumn header="SampleImagess">
<my:datagridtemplatecolumn.celltemplate>
<datatemplate>
<Image Height="25" Width="50" Source="{Binding}" />







vishal_h 31-May-11 2:39am View
   
Deleted
thank you sir but i have done in some othe rway like..
<grid>
<my:datagrid autogeneratecolumns="False" margin="178,41,175,82" name="dataGrid1" grid.row="1"
="" verticalalignment="Top" itemssource="{Binding}">
<my:datagrid.columns>
<my:datagridtemplatecolumn header="SampleImagess">
<my:datagridtemplatecolumn.celltemplate>
<datatemplate>
<Image Height="25" Width="50" Source="{Binding}" />








and .cs code is
public Window1()
{
InitializeComponent();
Loaded += new RoutedEventHandler(Window_Loaded);
}

private void Window_Loaded(object sender, RoutedEventArgs e)
{
List<string> imageList = new List<string>();
imageList.Add(@"D:\play.png");
imageList.Add(@"D:\play.png");
dataGrid1.ItemsSource = imageList;
}
vishal_h 31-May-11 1:30am View
   
errors are..like this
Error 1 The attachable property 'Columns' was not found in type 'DataGrid'. D:\demo\WpfApplication5\WpfApplication5\Window1.xaml 31 14 WpfApplication5
Error 2 The type 'dg:datagridtemplatecolumn' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. D:\demo\WpfApplication5\WpfApplication5\Window1.xaml 33 18 WpfApplication5
Error 3 The attachable property 'celltemplate' was not found in type 'datagridtemplatecolumn'. D:\demo\WpfApplication5\WpfApplication5\Window1.xaml 34 22 WpfApplication5
Error 4 The type 'datatemplate' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. D:\demo\WpfApplication5\WpfApplication5\Window1.xaml 35 26 WpfApplication5
Error 5 The type 'image' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. D:\demo\WpfApplication5\WpfApplication5\Window1.xaml 36 30 WpfApplication5
vishal_h 30-May-11 8:27am View
   
Its giving me error..please there is any other way tel me
vishal_h 24-May-11 1:33am View
   
but sir i am not getting the name of tab...and when i put that application on start tab its work fine..i also try to replace window load code tab index changed event of that tab..but not work
vishal_h 24-May-11 1:03am View
   
sir i am actually using this project http://www.codeproject.com/KB/IP/WCFWPFChatRoot.aspx (WCF chat application) in my application where in my application there is 5 tab item and i amproviding this chat function on 2nd tab..but its connect but not switch to chatting list box control..when i put this application on first starting tab then its work fine...but switch to other tab rather than first give same error..please help me..
vishal_h 24-May-11 0:59am View
   
Deleted
i am passing listbox control
vishal_h 18-May-11 3:28am View
   
Sir i have done by copy that database file in debug folder and given the path in
string path = AppDomain.CurrentDomain.SetupInformation.ApplicationBase ;
conn.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+path +@"\student.mdb";
vishal_h 18-May-11 3:04am View
   
but sir its not working my application is in WPF ..can you tel me please what i have to write in data source=...
vishal_h 18-May-11 2:16am View
   
sir thanks but when i am moving my application to another machine then i want to change the path every time..so what is solution
vishal_h 6-May-11 8:28am View
   
thanks sir but i have updated my question i am not getting what should i write at this capture.PreviewWindow = mediaElement1;
statement becouse capture.PreviewWindow is form control..what modification i hv to do...
vishal_h 5-May-11 3:27am View
   
http://www.hugli.org/code/videoencoder/videoencoder.zip this link in that page is not open which is demo project..if u have that demo project could you send me on my email id..vishal.hatiskar@gmail.com
i am trying to open this link from last five days but i m not getting..
plz help me..
vishal_h 5-May-11 1:08am View
   
thanks for your reply but your project download link http://www.hugli.org/code/videoencoder/videoencoder.zip is not opening and i am not getting the project
vishal_h 5-May-11 0:53am View
   
its in visual studio 2010 but i want in 2008..plz do u hava any code in visual studio 2010..
vishal_h 2-May-11 0:50am View
   
thanks for prev response.sir i have change my question plz give your some inputs..
vishal_h 30-Apr-11 1:16am View
   
thanks ankit but i am developing this in WPF and i could not add System.Form namspace which is not possible so what can i do in WPF to add valu in xaml.cs file.
vishal_h 15-Apr-11 3:17am View
   
yes thanks for previous response but i my forms are on diff application as the application is client server application....
vishal_h 15-Apr-11 3:15am View
   
No its not possible becouze its a client server application...so once the user on server enter the new record client have to know updated ones...
vishal_h 15-Apr-11 1:30am View
   
this two form in different application...so how to do...
vishal_h 11-Apr-11 6:08am View
   
is it any control that WPF provide for that bcz i am not getting this..
vishal_h 8-Apr-11 3:22am View
   
how i can read item from that ckeck list box..
vishal_h 7-Apr-11 0:47am View
   
i got answer i was not clearing list item before displaying..thanks..
vishal_h 7-Apr-11 0:46am View
   
i got solution it is not bcz initializeComponent twice.i was not clearing list box item before displaying..thanks
vishal_h 6-Apr-11 6:11am View
   
sir my new code is posting on site with check box with access DB in WPF subject plz help me..
vishal_h 6-Apr-11 6:10am View
   
When I am executing this piece of code this executes OK. But the problem is that the items in the checked list box are displayed twice. Kindly help in the same at the earliest.
vishal_h 6-Apr-11 3:06am View
   
thank u sir...
vishal_h 6-Apr-11 1:07am View
   
Sir how to run this process in same window..
vishal_h 2-Apr-11 3:42am View
   
sir but it give me error as
Error 1 The best overloaded method match for 'System.Collections.Generic.List<wpfapplication9.mainwindow.tripinfo>.Add(WpfApplication9.MainWindow.TripInfo)' has some invalid arguments D:\Software Development\vishal_wpf\dem\WpfApplication9\WpfApplication9\MainWindow.xaml.cs 67 13 WpfApplication9
vishal_h 1-Apr-11 2:01am View
   
thank you sir...