|
Whoa, easy on the all caps, that's considered yelling
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
When i was working with Visual studio.net 2008 for asp.net applications, I was able to step into code that was generated by the .net framework. I believe that was called unmanaged code.
For the visual studio.net 2010 web form application I am working with, I would like to be able to step into the unmanaged code.
Thus can you tell me how to setup my environment so I can step into both the managed and unmanged code?
|
|
|
|
|
No, that's not unmanaged code.
Unmanaged code is code that is NOT generated by the designers and doesn't depend on the .NET Framework in order to run.
|
|
|
|
|
As Dave said, that is not unmanaged code, but in either case the procedure is the same as it was in VS2008. Why not just try it?
|
|
|
|
|
I tried that option and it did not work.
|
|
|
|
|
sc steinhayse wrote: I tried that option
What option?
sc steinhayse wrote: it did not work.
What did not work?
If you expect people to help you then you need to explain exactly what you are doing, what results you expect and what results you actually see. Saying "it did not work" gives us no information.
|
|
|
|
|
I am trying to pass a value from a pop up window back to the parent page. The query string is successful, but it wont go back to the previous page, but instead the pop-up window will redirect to the previous page with the values. What I want to do is close the pop-up window, and go back to the previous page with the values. Here are the code that I currently have:
//this is action performed when the button to submit the values are clicked
protected void btnSelect_Click(object sender, EventArgs e)
{
GridViewRow row = grdAll.Rows[SelectedProductIndex];
name = row.Cells[2].Text.ToString();
Industry = row.Cells[3].Text.ToString();
SubInd = row.Cells[4].Text.ToString() ;
geo = row.Cells[5].Text.ToString();
location = row.Cells[6].Text.ToString();
Page.Response.Redirect("frmMain.aspx?name=" + name + "&industry=" + Industry + "&subInd=" + SubInd + "&geo=" + geo + "&location=" + location);
}
//this is the page_load of the parent window
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Page.Request.QueryString["name"] != null)
{
txtMPSname.Text = Page.Request.QueryString["name"].ToString();
txtLoc.Text = Page.Request.QueryString["location"].ToString();
DlstGeo.Text = Page.Request.QueryString["geo"].ToString();
DlstInd.Text = Page.Request.QueryString["industry"].ToString();
DlstSubInd.Text = Page.Request.QueryString["subInd"].ToString();
}
}
}
|
|
|
|
|
I THINK U SHOULD TRY THIS
U SHOULD CREATE A BUTTON INSIDE THE POP-UP PAGE NAMED "BACK", THEN GIVE IT THIS CODE:
Form1 frm2 = new Form1();
this.Hide();
frm2.Show();
frm2.Region = this.Region;
|
|
|
|
|
Hi,
Instead of "Response.Redirect()" use the javascript function like this.
function closeFrm(val1,val2,val3,val4,val5)
{
self.close();
window.opener.location.href = "frmMaain.aspx?name=val1&location=val2&geo=val3&industry=val4&subInd=val5";
}
and call this function through code as below.
ScriptManager.RegisterClientSciptBlock(this,this.GetType(),"Myscript","closeFrm('"+ name +"','"+ location +"','"+ geo +"','"+ Industry +"','"+ SubInd +"'");
Hope it works.
with regards
Karthik Harve
|
|
|
|
|
I'm getting an error :
Error 1 on this line
ScriptManager.RegisterClientSciptBlock
thanks,
|
|
|
|
|
That's a typo. Obviously he meant:
ScriptManager.RegisterClientScriptBlock /ravi
|
|
|
|
|
Is there a way to programmatically create unix ftp profiles and user accounts.
If the account access info is changed on the server it can get back to the .net web application to update the database?
|
|
|
|
|
It's not clear what this has to do with C#.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
You're going to have to provide a LOT more detail about what you're doing and how you're doing it. Right now, this doesn't appear to have ANYTHING to do with C# or writing code.
|
|
|
|
|
As the others have said, please be more clear. What does this have to do with C#, unless you are trying to do it in C#. Show what you have done thus far...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
I have a class that inherits NativWindow, I would like the same class to also implement IDisposable.
The problem is that C# wont let me inherit NativWindow and IDisposable (multiple inheratence).
So, is it posible?
Or is there some reason why I should not even be trying to do this?
Thanks.
“If I had asked people what they wanted, they would have said faster horses.”
― Henry Ford
|
|
|
|
|
__John_ wrote: The problem is that C# wont let me inherit NativWindow and IDisposable (multiple
inheratence).
No, it doesn't. You're allowed to inherit from one base class, and you can implement multiple interfaces. If you wrapped your IDisposable in a class, then you should read up on creating a composition .
Good luck.
Bastard Programmer from Hell
|
|
|
|
|
Thanks Eddy.
“If I had asked people what they wanted, they would have said faster horses.”
― Henry Ford
|
|
|
|
|
You're welcome
|
|
|
|
|
BindingNavigator save button does not save info to table.
Detail for two tables dragged into a form. Using BindingNavigator add a new record, Enter data in the form. Using save button in navigator Saves the data for main table but not the one connected by foreign key.
|
|
|
|
|
DOn't post the same question in multiple forums. It's not going to get you an answer any faster and it prevents collaboration and discusson on answers.
|
|
|
|
|
I have an 8x8 grid...On the grid i have a robot standing in the origin point (0,0)
Also,i have a little lamp placed at any tile RANDOMLY at the start of puzzle.
The robot can only move square by square either horizontally or vertically (no diagonals allowed!)
The robot wants to get to the lamp as quickly as possible (means in the least number of moves possible)
So how can i shorten the path?
|
|
|
|
|
|
The general answer to any pathfinding question is "have you checked out A*[^]?". So, have you? In the case of a uniform grid with no obstacles you can just go straight for the target, but I'm guessing this is a preliminary to pathfinding with obstacles, and in that case A* is exactly what you'll want.
|
|
|
|
|
How can I display 0 and 1 data in square wave form like in logic analyzer view in to datagridview controls or there is a special control for this kind of requirement?
|
|
|
|