I have a solution in Vb.NET 2008 windows Form with ToolStripMenuItems,
but I need to implement menu navigation without any mouse intervention.
I only found mouse events In ToolStripMenuItems, MenuStrip, etc.
All MenuStrip and ToolStripMenuItems are created programatically, reading user permissions from Database, then add a handler to...
Hi,
I'm working on a quite simple Webpage (MVC2), using localisation based on ResourceFiles.
I have the MVC2 Project and the Resources in a seperate Assembly.
The Resources contains 3 languages (Resource.resx, Resource.de.resx, Resource.en.resx, Resource.ja.resx) and I'm querying them via the ResourceManager.
Call from the .aspx
...
How can I return List<personel> data type from below procedure. If I press F5 it throw me this error:
Error 1 Cannot implicitly convert type
'System.Linq.IQueryable'
to
'System.Collections.Generic.List'.
An explicit conversion exists (are you
missing a cast?) C:\Documents and
Settings\yusufk\Desktop\EFTestSolutions\WebAp...
Hi
In VB.NET there is an option to add a Splash Screen when you click Add New Window but when I do that with C#, I can't find any thing.
so
How I can add a Splash Screen in C#?
...
I am trying to identify a problem because of an unusual usage of variadic macros. Here is the hypothetic macro:
#define va(c, d, ...) c(d, __VA_ARGS__)
#define var(a, b, ...) va(__VA_ARGS__, a, b)
var(2, 3, printf, “%d %d %d\n”, 1);
For gcc, the preprocessor will output
printf("%d %d %d\n", 1, 2, 3)
but for VS 2008, the output is
...
Hi guys,
Im using vs 2008 sp1 but somehow the TextTemplatingFileGenerator for t4 is missing when I run custom tool. I tried to repair and reinstall the vs 2008 but could not make it work.
Do you guys have any ideas to get it back?
...
I would like to work out a number's factorial. My factorial rule is in a Prolog file and I am connecting it to a C++ file. Can someone please tell me what is wrong with my interfacing C++ to Prolog?
my factorial.pl file:
factorial( 1, 1 ):-
!.
factorial( X, Fac ):-
X > 1,
Y is X - 1,
factorial( Y, New_Fac ),
Fac i...
I am new to C# world. I am attempting to calculate time taken by a algorithum for the purpose of comparison. Following code measures the elapsed time from when a subroutine is called until the subroutine returns to the main program.This example is taken from "Data structures through C#" by Michael McMillan.
After running this program th...
I'm using ddkbuild for building my driver.
And I use prefast also.
Prefast has /StackHogThreshold option.
The default value is 1024 Bytes.
I want to modify the value but I can't find a way.
How can I do that?
This is my input for 'Rebuild All Command Line'
C:\Windows\System32\cmd.exe /k "$(SolutionDir)..\..\ddkbuild.bat" -WIN7WLHA64 ...
I want to configure a treeview so that when all checkboxes of a parent are checked, then the parent checkbox is checked. And when all checkboxes are unchecked, the parent checkbox is unchecked. Does the treeview class have a standard property for that?
...
Hi
Hope you are fine. Can you refer me any how do i video series for crystal report?
Thanks
...
Hello; these below codes give whole data of my Rehber datas. But if i want to show web page via Gridview send me out of memory exception error.
GenoTip.BAL:
public static List<Rehber> GetAllDataOfRehber()
{
using (GenoTipSatisEntities genSatisCtx = new GenoTipSatisEntities())
{
Obje...
I need resource dictionary navigation tool like Expression Blend. Because my xaml file is too long and hard to navigate to style.
Is there any resource dictionary navigation add-on on visual studio 2008?
How to easy navigate to resource dictionary
...
I have 5 tables in started projects. If I adds new table (Urun entity) writing below codes:
project.BAL :
public static List<Urun> GetUrun()
{
using (GenoTipSatisEntities genSatisUrunCtx = new GenoTipSatisEntities())
{
ObjectQuery<Urun> urun = genSatisUrunCtx.Urun;
return urun.ToList();
}
}
if I receive data for...
I have problem with copying sdf file to WM emulator.
My solution structure
MyApp.DataLayer - there is sdf file
MyApp.WMUI - this is windows mobile winform app
sdf file has set
build action: content
copy to output directory: copy always
But if I deploy app to emulator, that sdf file doesn't copy.
...
How do you add < (less than) or > (greater than) to a summary comment in visual studio? I am in Visual Studio 2008.
I have a generic method:
public bool IsMemberProtected<T>(Expression<Func<T, object>> expression)
Would love to have a summary tag of something like this
/// <summary>
/// Determines whether a member is prote...
VS 2008 is randomly opening sub-folders for me. Sometimes just a few, sometimes every sub-folder in my project or solution. This happens even when I am not using it - last night when I knoocked off, my solution explorer was closed up tight - this morning, one large project had dozens of sub-folders open.
This is not a matter of restorin...
How can I give set foreign key value field in Entity Framework. I have Kartlar entity (related from kartlar table). I need simple save method this field but, RehberID, KAmpanyaId,BirimID is foregin Key....
public static class SatisServicesUpdateTables
{
public static void SaveKartlar(int RehberID, int KampanyaID, int BrimID)
{
...
I've created a user control that contains a table layout control with various other standard controls like buttons and labels. Yet when I add the user control to one of my forms the control is blank. I've tried building the solution and a see the user-control flicker as if it's being updated, but it remains blank. Also if I actually run ...
I have tried this a few different ways and it always seems to fail.
Create a new Blank Solution (my.solution.name). Then add a new ClassLibrary project (my.project.name) to the solution. This results in the solution explorer only showing my.project.name.
Create a new ClassLibrary (my.project.name) which should have my.project.name so...