Bhuwan Pandey

1

votes
1

answer
10.5k

views

Convert TKinter Into an Exe File

As I was creating a program using python (tkinter), I am unable to convert it into executable form (.exe). My program uses several images, a bitmap icon and widgets. I tried cx_freeze. It compiles well and generates exe and other files but doesn't run. I tried cx_freeze with several setup codes bu...
Bhuwan pandey
1

votes
0

answer
8

views

increasing height of jtable dynamically upon insertion of rows

i am having problem on adjusting height of jtable whenever i insert rows. i have tried using setsize() and setPreferredScrollableViewportsize() for both table and scrollpane of the table. could it be the problem in layout manager? i also tried increasing the size of jpanel too upon inserting each ro...
Bhuwan pandey
1

votes
1

answer
5.3k

views

Getting Unhandled Exception: System.Reflection.TargetParameterCountException: Parameter count mismatch

I'm getting Parameter count mismatch exception: Getting Unhandled Exception: System.Reflection.TargetParameterCountException: Parameter count mismatch. Code: class Program { public static void Main() { ArrayList CustomerList = new ArrayList(); CustomerList.Add('Robinson'); CustomerList.Add('Pattison...
Bhuwan Pandey
5

votes
3

answer
3k

views

Only an absolute URI can be used as a base address

Please help getting exception at using (ServiceHost host = new ServiceHost(typeof(HelloService.HelloService))) in the below code Exception : Only an absolute URI can be used as a base address WCF Host Application class Program { static void Main() { using (ServiceHost host = new ServiceHost(type...
Bhuwan Pandey
1

votes
2

answer
610

views

Id coming Null in the Action Method

Don't know why, but my Action method showing null for id. I'm passing id in the url but still its coming null Controller Action Method public ActionResult SpecificEmpDetails(string empId) { CustomerBAL customer = new CustomerBAL(); Customer custs = customer.Employees.Single(emp => emp.EmpID.ToString...
Bhuwan Pandey
4

votes
1

answer
332

views

How string is available without using system Namespace

Can anyone tell,I'm not using system namespace but string is available as string hello = 'Hello'; and does not throw any compile time error but, if I write uppercase String it is not available. sealed class SealedClass { public void PrintSealed() { string hello = 'Hello'; } }
Bhuwan Pandey
4

votes
2

answer
85

views

String Comparision : Why we have different output for below cases

Why we have different output for below cases: object obj = 'Int32'; string str1 = 'Int32'; string str2 = typeof(int).Name; Console.WriteLine(obj == str1); // true Console.WriteLine(str1 == str2); // true Console.WriteLine(obj == str2); // false !?
Bhuwan Pandey
-1

votes
1

answer
792

views

Getting Error object reference not set to an instance of the object [duplicate]

This question already has an answer here: What is a NullReferenceException, and how do I fix it? 33 answers I'm creating windows form speech recolonization application but somehow not able to fix the object reference issue: Can anyone please tell where I'm going wrong, as I'm getting Getting Error...
Bhuwan Pandey