I did my best, and coming here was my last choice.
aahamdan
Posts
-
Where is the location of sqlite db on android device -
Where is the location of sqlite db on android deviceHi Expert, I have developed android program that save data on SQLite Database, I need to know where is the location of created database, furthermore, I need to save database file on the root of android device or on custom path, I don't need to save created file on hidden file. Regards, Ahmad
-
free tool to design user interfaceI need to design interface for prototype not for real implementation, then I will reflect this design into real application
-
Replacement of depracted interface in androidI would like to use Tab bar, so if I use deprecated interface, is there any problem?
-
free tool to design user interfaceHi, I need a free tool to design user interface for Android application. Regards,
-
Replacement of depracted interface in androidThank you, But I checked the link common navigation pattern in the same page, but I didn't find any code, it is just an information. Regards,
-
Replacement of depracted interface in androidHi Experts, I am a new to the android, and I am trying to work on Tab Action bar, but I find the below interface was deprecated , so what is the replacement, and what happen if I use deprecated interface?
ActionBar.TabListener
public static interface ActionBar.TabListener
android.support.v7.app.ActionBar.TabListener -
cant add Action bar, application crashedHi Expert, I am trying to add action bar to my application, but my application get crashed once added the following code.
android.app.ActionBar actionbar = this.getActionBar(); actionbar.setTitle("test")
; I am using android studio, here is the following information about my code, it is simple: .java file
import android.support.v4.app.NotificationCompat;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;public class MainActivity extends AppCompatActivity {
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity\_main); android.app.ActionBar actionbar = this.getActionBar(); actionbar.setTitle("test"); }
}
skd version
<uses-sdk android:minSdkVersion="11" android:targetSdkVersion="22" />
I cant add actionbar. Anyone can help please. Ahmad,
-
How internet Download manager Works?Thank you
-
New To JavaHi everybody, I am fresh in Java, I would like to be a Java Programmer, so Please advice me what is the required skills, recommended books, latest java technology. Regards,
-
How internet Download manager Works?Dear Expert, What are the principles of Internet download manager? How is it work? I am thinking to develop program like it, what is the suitable language? Regards,
-
How to start in Android programmingThanks for Help.
-
How to start in Android programmingDear Expert, I am in level 0 of android programming. I need to know how to start learning? What are the software used to build Android application? What is the latest software used to build the applications? Regards,
-
help in datagride view CellLeaveIt is working, Thank you :)
-
help in datagride view CellLeaveDear Experts, I have datagridView with tow columns. I use the below code to get value from Cell the cursor left, but when cursor left for first time, even if I filled a value, the message box give me "Blank" notjing, but if I returned to the cell and leave it again, then message give me the Value. I have searched in google, but with no result.
private void dataGridView1_CellLeave(object sender, DataGridViewCellEventArgs e)
{
string x = (string)dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value;MessageBox.Show(x); }
Your help please. Ahmad,
-
code dataGridView1[e.ColumnIndex, e.RowIndex].Value.ToString() doesnt workThank you Sir, I have tried your code, but I get the same error. Below is the exception message I received. The code works under Button_Cleck event.
System.NullReferenceException was unhandled
Message=Object reference not set to an instance of an object.
Source=ERP
StackTrace:
at ERP.frmCalendar.dataGridView1_CellLeave(Object sender, DataGridViewCellEventArgs e) in C:\Projects\ERP\ERP\GL\frmCalendar.cs:line 103
at System.Windows.Forms.DataGridView.OnCellLeave(DataGridViewCellEventArgs e)
at System.Windows.Forms.DataGridView.OnCellLeave(DataGridViewCell& dataGridViewCell, Int32 columnIndex, Int32 rowIndex)
at System.Windows.Forms.DataGridView.CommitEdit(DataGridViewCell& dataGridViewCurrentCell, DataGridViewDataErrorContexts context, DataGridViewValidateCellInternal validateCell, Boolean fireCellLeave, Boolean fireCellEnter, Boolean fireRowLeave, Boolean fireRowEnter, Boolean fireLeave)
at System.Windows.Forms.DataGridView.EndEdit(DataGridViewDataErrorContexts context, DataGridViewValidateCellInternal validateCell, Boolean fireCellLeave, Boolean fireCellEnter, Boolean fireRowLeave, Boolean fireRowEnter, Boolean fireLeave, Boolean keepFocus, Boolean resetCurrentCell, Boolean resetAnchorCell)
at System.Windows.Forms.DataGridView.CommitEditForOperation(Int32 columnIndex, Int32 rowIndex, Boolean forCurrentCellChange)
at System.Windows.Forms.DataGridView.ScrollIntoView(Int32 columnIndex, Int32 rowIndex, Boolean forCurrentCellChange)
at System.Windows.Forms.DataGridView.TabToNextCell()
at System.Windows.Forms.DataGridView.ProcessTabKey(Keys keyData)
at System.Windows.Forms.DataGridView.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.Thread -
code dataGridView1[e.ColumnIndex, e.RowIndex].Value.ToString() doesnt workDear Experts, I am trying to get the value for current cell in DatagridView. I wrote code
dataGridView1[e.ColumnIndex, e.RowIndex].Value.ToString();
in CellLeave event. but the code raise an error. Object reference not set to an instance of an object. But if I write the code in Button_Click event, it is working properly. Please help. Ahmad
-
Is there any solution to design report instead of Crystal?I wonder if I can use some classes to develop reports, I need a dynamic report, that user can request same report in multiple design.
-
Is there any solution to design report instead of Crystal?Dear Expert, Is there any solution or Programming method to develop reports without using Crystal reports in C#. Ahmad
-
Global variable in C#Thank you Sir.