Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~18.0K People Reached
Favorite Tags
Member Avatar for emilio

hi i have a simple website that includes a WebService and a Webform page. i'm trying to call my web service from the web form using jquery. when i type the web service's url using https, i get "Access denied" error from internet explorer. the call works just fine when …

Member Avatar for emilio
0
251
Member Avatar for emilio

in my application i have a tabcontrol with two tabs. when i run the program the focus is on the first tab. how can i change the focus to the second tab, so the second tab is shown on certain event ?

Member Avatar for northtrench
0
114
Member Avatar for emilio

I'm having doubts about a need to use a singleton pattern in a web service. I'm building a web service that is acting as a server side for multiple clients. I was thinking about making my business logic classes a singleton classes but i'm having doubts because of the following …

Member Avatar for hericles
0
155
Member Avatar for emilio
Member Avatar for Dr_H
0
641
Member Avatar for emilio

hi i'm trying to write something i have done many time but still i encounter with a problem. i'm writing a web service that is protected with network credentials. in my web service application i added the following config: [CODE=xml]<authorization> <deny users="?" /> <allow users="computername\username" /> <deny users="*" /> </authorization>[/CODE] …

0
66
Member Avatar for emilio

hi I'm trying to implement a custom forms authentication based on existing objects. i have created the following classes classes: [CODE=c#][Serializable] public class MyIdentity : IIdentity { // my custom members and properties } [Serializable] public class MyPrincipal : IPrincipal { // my custom members and properties }[/CODE] i'm using …

Member Avatar for emilio
0
105
Member Avatar for emilio

i am trying to draw a line between two points like this: [CODE=syntax]private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs e) { Graphics MyGraphics = e.Graphics; Pen NewPen = new Pen(Color.Red,5); MyGraphics.DrawLine(NewPen,StartDraw,EndDraw); }[/CODE] it gives me an error: Object reference not set to an instance of an object. what have i done wrong …

Member Avatar for mahmudh
0
271
Member Avatar for emilio

hi everyone i would like to fill an array with random numbers i know i can use the next line srand( time(NULL) ); return 1 + rand() % 10 ; but the problem is that it fills my array with only one number what can i do ?

Member Avatar for mayur.sarode
0
305
Member Avatar for emilio

hi as i learned, asp .net login control has a built in required field validators but how can i use a regular expression validators to validate the UserName and Passwords textboxes ? is there a way ?

Member Avatar for Vally
0
143
Member Avatar for emilio

hi i created an outlook 2003 Addin project and i want to install he Addin on a computer that doesn't have visual studio installed. i created all the necessary registry keys in the setup project, before running the setup project on the target pc i installed visual studio 2005 tools …

0
58
Member Avatar for emilio

how can i create GridView Template column with a textbox programmatically from code behind ?

0
66
Member Avatar for emilio

hi i'm trying to run an exe file on the client side using the following code: [CODE=javascript]var oShell = new ActiveXObject("Shell.Application"); var prog = "C:\\Program Files\\Microsoft Office\\Office12\\Excel.exe"; oShell.ShellExecute(prog,"","","open","1");[/CODE] when i run the code it fails with "Access denied" error which i cannot resolve. i modified my ie (8) settings to …

Member Avatar for emilio
0
174
Member Avatar for nidhi.knit09

Hi, pls let me know how you created a setup project for 2007 addin which files needs to be added to my add-in project. In 2003 add-in project by default you get a setup project but in 2007 you did not get...... Please help me on this......

Member Avatar for emilio
0
306
Member Avatar for emilio

hi I'm new to outlook add ins. i developed an outlook 2007 add in project and added a setup project so i will be able to install the add in to other computers. when i install the add in (using the installer from the setup project) it works fine on …

Member Avatar for emilio
0
105
Member Avatar for emilio

hi i created a new OutlookAddIn project. the project adds a custom toolbar button to outlook. when run the project in debug mode, i see the custom button and everything works. i want to install the poject in another computer, i added a new SetupProject to the solution and targeted …

Member Avatar for emilio
0
154
Member Avatar for emilio

is there any way to show a powerpoint presentation on a webbrowser control ? office 2007 .net 3.5 ?

Member Avatar for kvprajapati
0
67
Member Avatar for emilio

hi i realy cant guess what i'm doung wrong i'm trying to fire a simple oninit event. [CODE=asp]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body oninit="alert('hi');"> <form id="form1" runat="server"> <div> <asp:ContentPlaceHolder ID="cph2" runat="server"> </asp:ContentPlaceHolder> </div> </form> </body> </html>[/CODE] this works perfectly with onload event.

Member Avatar for sknake
0
81
Member Avatar for emilio

hi i wanted to write a windows application that sends keyboard strokes to another application something like a virtual keyboard. i researched the subject and read few articles. i managed to find a code that partially works. in the sample code above i'm trying to send strokes to a word …

Member Avatar for emilio
0
3K
Member Avatar for emilio

hi i have a WinForm with DataGridViewControll. one of the datagrid columns is a DataGridViewCheckBoxColumn. how can i Check or uncheck the Checkbox column of a certain row ?

Member Avatar for emilio
0
273
Member Avatar for emilio

is there a way to convert a java.util.Date to format dd/mm/yyyy HH:mm:ss ?

Member Avatar for emilio
0
88
Member Avatar for emilio

hi i have a j2me application with a display set to Canvas. when i try to change the midlet's display to another Canvas using the following command: Display.getDisplay(this).setCurrent(Canvas2); nothing happens. how can i efficiently change a display to another Canvas ?

Member Avatar for peter_budo
0
221
Member Avatar for emilio

how can i compare between two objects using getType method i want to know if two objects are from the same class or from the same base class

Member Avatar for serkan sendur
0
103
Member Avatar for emilio

hi a have a gridview with datafield column which is bound to a datetime column. i want the grid column to show the date when the day is first, like this: 24/2/2009 i tried the following format: [CODE=asp]DataFormatString="{0:dd/MM/YYYY}"[/CODE] but the grid is still shows the date when the month is …

Member Avatar for mail2saion
0
380
Member Avatar for emilio

hi i would like to write a trigger for the basic operations on a table : insert, delete, update. i know the basic syntax: [CODE=sql]create trigger on tbl_MyReports for insert,delete,update as[/CODE] my question is how can i know which rows changed ? if i inserted or deleted or updated a …

Member Avatar for urtrivedi
0
154
Member Avatar for emilio

hi my html form contains a table tag <table id="MainTable">. i would like to populate this table using a javascript function. my probllem is that i created a table that contains another table inside on of the <td> tags. i tried to write the most basic code: [CODE=javascript]var myTable = …

Member Avatar for serkan sendur
0
2K
Member Avatar for emilio

hi i use a gridview control with a template column which contains textbox as itemtemplate. i'm trying to change the textbox's border color in runtime like this: [CODE=asp]((TextBox)MyGrid.Rows[i].FindControl("txtEnter")).BorderColor = Color.Red;[/CODE] but it doest change anything. what am i duing wrong ?

Member Avatar for greeny_1984
0
105
Member Avatar for emilio

hi my page contains a button with a javascript click event. when i click the button i want to check if the page is valid, and if the answer is yes, to perform the event function. if the page is not valid i want the error message to show in …

Member Avatar for emilio
0
70
Member Avatar for emilio

hi I'm trying to execute a stored procedure which returns a datatable my code is: [CODE=asp.net]try { string conStr = WebConfigurationManager.ConnectionStrings[0].ConnectionString; SqlDataAdapter adapter; DataTable ans = new DataTable(); SqlConnection connection = new SqlConnection(conStr); SqlCommand command = new SqlCommand(); command.CommandType = CommandType.StoredProcedure; command.CommandText = "usp_GetUserDetails"; command.Parameters.Add("@UserName", SqlDbType.VarChar); command.Parameters.Add("@Password", SqlDbType.VarChar); command.Parameters["@UserName"].Value = …

Member Avatar for emilio
0
223
Member Avatar for emilio

hi i want to call a sql server stored procedure from my webform. the stored procedure return parameters. how can i "catch" these parameters and use hem ?

Member Avatar for agrothe
0
61
Member Avatar for emilio

hi i have an ajax calendar extender control that is set to a textbox. how can i get the current selected date value from the calendar ?

Member Avatar for emilio
0
93