I am developing an automation program on a panel pc that has Win CE 4.2 OS by .NET Compact Framework. My device does not have a soft reset option.I can only turn it off and every time i close it , all files and programs are being deleted except files in smart card. I need to edit the nk.bin and add setup files of .Net framework , sqlCE 2.0 and also my custom application to the nk.bin. Would someone tell me how to edit the nk.bin file by platform Builder 4.2 . I also tried to build a new nk.bin but i always get errors while building :sigh:.So maybe i can edit the existing nk.bin . Thanx in advance junior MCAD
hakanaktan
Posts
-
build nk.bin problem -
Remove system tray icon of a killed processHi, I have to update a program while it is working. First i stop the process of programme then i copy new files and restart the process of program.At this time i see 2 system tray icon of my programme. When i move mouse over them the killed process's icon removes itself. But i want it to be destroyed when i first kill it's process.Could someone help me plz? --junior coder--
-
Remove system tray icon of a killed processHi, I have to update a program while it is working. First i stop the process of programme then i copy new files and restart the process of program.At this time i see 2 system tray icon of my programme. When i move mouse over them the killed process's icon removes itself. But i want it to be destroyed when i first kill it's process.Could someone help me plz? --junior coder--
-
access to another forms objectsthanx it works fine..:-D --junior coder--
-
access to another forms objectsHere is form1 code:
Public myform2 As New form2
I defined form2 as global variable Here is form2 code when you hit a button:Dim f1 As New Form1 f1.Show() f1 = Me.Owner f1.textBox1.Text="something else"
But it does not work :confused: here is error message: An unhandled exception of type 'System.NullReferenceException' occurred in TestForms.exe Additional information: Object reference not set to an instance of an object. --junior coder-- -
access to another forms objectsHi, I have two windows forms.User opens the first form(form1) and clicks "open" button then a new form opens(form2). He makes a choice in form2 .I need to add some string to listBox that is on form1 when user clicks button on the form2. Both forms are open at this time. If i use "Dim myForm As New Form1" it makes the change i need but it creates a new form1. would someone send some syntax for that? Thanx in advance.. --junior coder--
-
print problemI have a report page with 2 tables.I want to print the second table at 2. page because 1.table may become longer and pushes the second table. I read articles about this at codeproject and other sites but it did not work at my aspx page. Do i miss something? Thanx in advance I tried : <style media="print">.pagebreaker { page-break-before: always } </style> <table class="pagebreaker"> And <style> @media="print" { .pagebreaker { page-break-before: always } } </style> --junior coder--
-
Page goes back to top everytime it's posted backI think, setting Smart Navigation property of page to "True" will handle your problem. --junior coder--
-
sql connectivity with ASP.netCheck Sql Server 's Security tab and search Form [SYSTEM NAME] /ASPNET in Logins list in Security Tab. --junior coder--
-
Role Based AuthenticationHi, I have a project and am trying to add role based(by sql) authentication on it. Here is my scenerio: There are 3 types of users and all of them have 1 folder under project.I have one login page at upper folder of these 3 folders.Users login from this login page and redirect to their own folders. All 3 types of my users have some roles (admin,user..etc.) and i have their list and roles at sql server. I read articles about this but could not get it clearly..I could not get what to write to the web.config file of (admin role)user folder or (user type) user folders. Do someone have full code of role based authentication or a simple explanation of this subject. Thanx in advance --junior coder--
-
Datagrid Template columnI had written a code that updates the rows that has checkbox checked. So i changed it a little for u.The idea is ; When user clicks the "delete" button start a search on datagrid rows to catch checkBox then delete that row if it is checked. Hope it helps.. Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click Dim connection As New SqlConnection(ConfigurationSettings.AppSettings("SqlConnect")) Dim comStr As String connection.Open() 'Search all rows for checkbox in datagrid For rowCounter As Integer = 0 To myDgrid.Items.Count - 1 Dim keyID As String = myDgrid.DataKeys(rowCounter) 'name of checkBox is Checks in Template Column If CType(myDgrid.Items(rowCounter).FindControl("Checks"), CheckBox).Checked Then comStr = "delete FROM myTable WHERE keyID=@keyID " Dim command As New SqlCommand(comStr, connection) command.Parameters.Add("@keyID", keyID) command.ExecuteNonQuery() command.Dispose() Next End If 'End Of Checked IF. Next connection.Close() --junior coder--
-
Run java sctipt code from a LinkButton controlHere is a sample code from my project that changes the innerText of textBox to Uppercase. ctrl is a textbox and ctrlname is the ID value of server side control. Hope it helps..
Dim ctrl As WebControl Dim ctrlname As String = ctrl.ID.ToString() ctrl.Attributes.Add("onblur", "document.getElementById('" + ctrlname & "').value= this.value.toUpperCase();")
--junior coder-- -
Deploy my first Web appi had same error that my project works fine on my local machine but gave error on company server. Then i gave the full rights on Asp.Net Temporary Internet Files for ASP.NET user for first run.Then i removed the rights. It worked fine. I think to give the rights once at first run is enough too solve problem. Then u may take them back.. --junior coder--
-
authentication error, hopeless coder:(i solved the problem by changing login type to forms authentications. thanx again --junior coder--
-
authentication error, hopeless coder:(I have coded a little project that has to work inside a big project and be a part of it. ıt works fine on my local machine but when i setup it on server it fails.I tried everything read at net but it is still giving same error.Here is teh error ,check it and give me any idea to solve that please..Thanx in advance.. Server Error in '/littelProject' Application. -------------------------------------------------------------------------------- Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\littleProject\0d4e319d\426589d8" is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.UnauthorizedAccessException: Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\littleProject\0d4e319d\426589d8" is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. ----------------------------------------------------------------------------------- Note:identity impersonate is at its default value="false".. --junior coder--
-
web setup with sql databaseyour replies are so helpful for me. Thanx --junior coder--
-
web setup with sql databaseHi, i need to deploy my asp.net project but i do not know how to add a sql database into setup. i read something about installer class but could not understand clearly.. would you advice an article about this subject? thanx in advance --junior coder--
-
send string to sql problemi solved my problem:-D i am really silly! i had changed the type of a column int to nvarchar vut it's length was 10 thanx for your help have i said i am silly:) --junior coder--
-
send string to sql problemno problem with command.because it works if i do not use the "-" for the empty textBoxes. But i need all textBox.Text values like an array. Is there another way? i wrote the total string in a textBox and here it is: -,2,-,4,5,-,7,-,9,-, So if this problem is hard to solve ,i may change my way to collect the text value of my textBoxes . Do you know another way to collect the text in one string to convert an array in future codes.i can not insert this string to nvarchar(4000) typed column heeeelp:(( --junior coder--
-
send string to sql problemno it is impossible cause i send a string like: "1,-,3,-,4,5,6,7,8,9,10" it's length can be 25 maximum and in sql column type is nvarchar and mazlength is 4000. there ' s something wrong with my string? --junior coder--