Software Development Network Logo
  • Windows Vista
  • Visual Studio
  • Audio and Video
  • Microsoft ISV
  • VS Team System
  • SQL Server
  • Visual FoxPro
  • IE Development
  • Visual C#
  • Visual Basic
  • .NET Development
  • SharePoint Products
  • Game Technologies
  • Windows Forms
  • Visual C++

Software Development Network >> CKLEIN's Q&A profile

CKLEIN

Member List

yonelay
dmouser
mattdawg
Subhosh
Minherz
Nathan23
Kolja
Strick213
TonyX852
Vinodonly
d kretz
MDesigner
Chimme
Tryin2Bgood
NEVILLE GEORGE
James2007
Anton__
AG Hunzian
COBOLBeginner
Tsrwebman
Only Title

CKLEIN's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. No way to avoid depth buffer when using GraphicsComponent

    Hi, There doesn't seem to be a property on GraphicsComponent that lets me prevent the automatic depth buffer from being created with the device. I tried setting the DepthStencilFormat to Unknown but the UI prevented that. It looks like, if you go hardcore and create a GraphicsDevice by hand, you can use PresentationParameters.EnableAutoDepthStencil to choose if you want a depth buffer. But it seems that you're encouraging people to use GraphicsComponent instead. Seems with all the 2D games people will be making with XNA, it should be possible (and easy) to skip the depth buffer and save some video memory. Thanks, -Mike Thanks Keith, I'll try that. It still seems to me that EnableAutoDept ...Show All

  • SharePoint Products and Technologies Can't modify Top Link Bar on Site Collection

    Hi everyone, I have been trying to modify the top link bar of a site collection, however, I've been running into problems.  I have tried two approaches so far.  I tried doing it programatically by creating a custom feature that make the modification upon activation (and would then undo the modification upon deactivation), however, when activating it an exception is thrown stating, "the top link bar can only be edited for a Web site with unique navigation."  I've found references to to a link for the Top Link Bar under the Look and Feel section of the Site Setting, however I can't seem to see it anywhere.  I see the Navigation link but that only modifies the quick launch menu.  I'm just wondering if an ...Show All

  • .NET Development Question

    OK, I am working on a code encripter to hide letters a-z and convert them to a special symbol that the program can read. How do I open txt files and read and change charater by charater on the program This reminds me of a story from World War 2. The American Navy employed hundreds of native Americans from the Navaho tribe. They speak an inscrutable language that keeps linguists up at night. The Navy used them to exchange secret radio messages, sent in 'clear text' with just a few code words for terms like 'battleship'. Mostly because Navaho do not have a word for that. That worked beautifully, until the entire network was compromised when the Japanese captured *one* other Navaho speaker. Reportedly, they ...Show All

  • SQL Server Syntex for restore filelistonly & restore verifyonly

    Hello, Would some one please help me with the syntex on how to run "restore filelistonly" or restore verifyonly" on a SQL backup which has multiple filesets My backups locations are as follow: RESTORE VERIFYONLY From disk = 'E:\syndicated_databank__bkup_01.bak', ' E:\syndicated_databank__bkup_02.bak', ‘E:\syndicated_databank__bkup_03.bak’, ‘E:\syndicated_databank__bkup_04.bak’, ‘E:\syndicated_databank__bkup_05.bak’ I tried to do a restore with the above, I got error The label 'E' has already been declared. Label names must be unique within a query batch or stored procedure. Please advise!! RESTORE ...Show All

  • Silverlight (formerly WPF/E) Text alignment?

    Is there a reason TextAlignment isn't supported for the TextBlock element If so, I hope the reason is simply a matter of "not yet implemented", since I believe this to be an important feature that needs to be supported for the first release. Particularly when wrapping is involved, this is something that needs to be provided by the basic text rendering functionality. OK, but I think these and other differences from WPF make WPF/E nearly unusable. I might play some more with WPF/E, but I intend to stop doing any development for WPF/E until it supports a realistic subset of WPF XAML. ...Show All

  • .NET Development Doing the match in C# from VB code

    With ref to Egyptian's code http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=570980&SiteID=1 to find paras in a string and split each para and populate datagridview1 col1, row1 with para1... col1, row2 with para2 etc... I am unable to translate this to c# and request help esp with the regex. Here is the vb.net code again...           Dim delma As System.Text.RegularExpressions.Regex = New System.Text.RegularExpressions.Regex(""& vbLf& vbLf)         Dim singleLines() As String = delma.Split(MyOrigionalTable.rows[index])                   &nb ...Show All

  • SQL Server using sql to deploy a database

    I am trying to write an installation for my application. I am using an SQL Express database as well as an ODBC driver to connect and querry an existing interbase database. Therefore the install needs to do the following: Install .NET - done Install SQL Express - done Install application - done copy some XML files - done Install ODBC Driver - done Create database - not done I am using a setup and deployment project to do the above. I have also written a small application to install the ODBC Driver and attepmt to create the database which I intend to run as a custom action if possible. I have used the SQL management studio script wizard to write an sql script for creating the database with the intention of usin ...Show All

  • SQL Server Limitation of # cubes inside a base Analysis Services

    Does anyone have any idea which is the limitation of # cubes inside a base Analysis Services, because I created 50 cubes, and when I tried to connect to the base, i was enable to do that because the CPU was at 100 %. I think that is a problem when analysis services tried to read the xmla and print all the cubes. Tks Thanks, is very useful, but i have another question if i don't bother you. I have a data warehouse with 50 mil. dates. And i have 6 measures group with relations many 2 many. When i query the cube, first is very slow( and i design aggregations for all the measures), and second (I have proactive caching setup), when i want to modify some data from the tables of proactive caching , the pro ...Show All

  • Visual C++ Visual C++ Walkthorough

    hi, i have just started learning visual C++ and tried the example given in this tutorial but I am getting a strange error message. THe code supplied is as follows: // Cardgame.h #pragma once class Cardgame { int players; static int totalparticipants; public: Cardgame(int p); ~Cardgame(void); }; // Cardgame.cpp #include "Cardgame.h" Cardgame::Cardgame(int p) { players = p; totalparticipants += p; } Cardgame::~Cardgame(void) { } //testgames.cpp #include "Cardgame.h" int Cardgame::totalparticipants = 0; int main() { Cardgame *bridge = 0; Cardgame *blackjack = 0; Cardgame *solitai ...Show All

  • .NET Development WSE 3 add in VS2005

    Hi everybody, Dispite all the treads on the internet, i did not solve my problem with the missing WSE 3 add-in in Visual Studio 2005 pro. I tried all the tips i found on the web, but nothing seems to work. Please help. Thanks, Jurgen how do you modified the generated proxy base class from System.Web.Services.Protocols.SoapHttpClientProtocol to Microsoft.Web.Services3.WebServicesClientProtocol thx ...Show All

  • SQL Server Leaf level calculations

    Need to calculate datediff([base measure date], [user selected Time dimension level's end date]) for each leaf-level member. e.g. datediff([base measure], [selected Year's end date]) Year End Date is an attribute of the Time dimension Cannot have this multiplication in the dsv named query since user's selection is not known then. Member expressions can only have the form measure1*measure2 or measure1/measure2 In the calculations script scope(base measure) scope(leaves()) scope(base measure) this = datediff("d", base measure, CurrentTimeMember.Properties("end date")) end scope..... does not work since CurrentTimeMember in this context becomes Date, whereas selected Year is required and its end date for t ...Show All

  • Windows Forms Client / Server application suggestion

    I am trying to build a client / server application , I will use NHibernate to do the database connection. Should I just build client connect to database directly or I should build a server to collect all info , then server use Nhibernate deal with database ...Show All

  • .NET Development Sql Connection String Error

    hi all , i have a problem when i am trying to connect to the data base via Network or via Web. this is my connection string : static private string GetConnectionString() { return "Data Source=10.0.0.25\\SQLEXPRESS\\Databases\\FWR.MDF;Integrated Security=True;User Instance=True"; } and i recive this error exption : (An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified). i want to know how to solve this error. Best Regards Ahmed EL Gendy ...Show All

  • Windows Forms Applying WinXP to all app controls independent from Windows theme

    Hello all. I have application, that was developed with use of standart WinXP theme (I mean I use this theme when I was developing app and when I created application design). But when I change theme appearance I get lots of problems with design. Actually it can be done by creating my own controls and setting their appearance panually. But it will take really looooots of work. So is it possible to say application "use default Windows XP theme appearance and ignore current theme settings". Any help will be muuuuch appreciated not sure about that. Have you tried to use the EnableVisualStyles() method Place this code in your Main class: Application.EnableVisualStyles(); this has no effect for OS's that don't support the vi ...Show All

  • Visual C# Global access to arrays

    Hi, I am a beginner at C# and am probably trying to run before I can walk! However, I need to build an application which has several Forms. I was brought up on the concept of only writing code once and using it everywhere. So, What I need to be able to do is to: Hold data arrays in one piece of code, say MyData.CS and access it from all of my Forms. Hold pieces of code,( like subs in VB ) which perform specific tasks and which are, again, accessible from all my forms. these may access the API or just do general stuff. I can write the code, but I just can't access it. So far, I have been able to handle single point variables in this way, but I don't seem to be able to do the same with arrays. Also, I can never access my 'g ...Show All

©2008 Software Development Network