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

Software Development Network >> J.A.J.'s Q&A profile

J.A.J.

Member List

Heinsz
Prathapbolar
WXS123
sqlover
Programm3r
Matt Bell
Fabio B
XJDM003
Rajib.Bahar
Tryin2Bgood
Recycler
Sneha Desai
shades921
Todd Saylor
Toby Leduc
Ljhopkins
Nayan Paregi
rcook349
lula
E.Herzog
Only Title

J.A.J.'s Q&A profile

  • SQL Server Logical fragmentation

    Hi: when does a table not show any Logical fragmentation 1). Is it possible if the table has only non-clustered indexes and no clustered indexes, it wont show any logical fragmentation at all or shows less logical fragmentation . Also what is the difference between logical fragmentation and Physical fragmentation of a index .Is there actually something like a physical fragmentation for a index Thanks AK Logical fragmentation only applies to indexes (clustered or non-clustered). If the physical location of key orders from leaf level of an index is the same as physcial page order in the database files, then logical fragmentation is 0. You can find more information in Book Online from DBCC SHO ...Show All

  • Visual Studio Tools for Office opening a Word document

    I want to open a Word document and then be able to tie into its events. If I create a new Word Document project in Visual Studio, then I get this kind of control over a document because it creates a Microsoft.Office.Tools.Word.Document. I know that I can call (Microsoft.Office.Interop.Word.Application instance).Documents.Open() to open a document, but this returns a Microsoft.Office.Interop.Word.Document object, not a Microsoft.Office.Tools.Word.Document object, so I don't have access to all of the events and properties that I need. Is there a way to get a Microsoft.Office.Tools.Word.Document object for an existing document that I load up from disk There must be a way because the Word Document project seems to be doing this, but I can't f ...Show All

  • Visual C++ The com component problem when upgrading from vc6 to vc2005?

    When I upgrading a vc6.0 project into vc2005, there is the following error:" Error 31 error C2039: 'BorderEffect' : is not a member of '_Chart' d: etrumform.cpp 1034 ". The code is as follows: _ChartPtr pChart; pChart->BorderEffect = BorderEffect_None; I check the definition of _ChartPtr as follows: typedef _com_ptr_t<_chart>_ChartPtr; I think that it is a com component here, can you tell me how should I solve this problem I appreciate your help. COM programming is the same under both VC6 and VS2005--forward compatibility is very important. I think you're looking for a high level solution to a problem that is probably in the actual definition of _Chart itself. Where did you get ...Show All

  • Software Development for Windows Vista July CTP breakpoint on state machine workflow can't open the workflow designer

    Dear all, I am trying to debug a state machine workflow in the July CTP of WF. I have set a breakpoint on the state machine workflow, but when I debug and the breakpoint is hit, I get: Hi Trevor, Are you still having this issue Have to tried upgrading to RTM of WF yet If you have and are still getting this issue, please let me know. Thanks, Angel ...Show All

  • .NET Development how i can cancel a regex.ismatch() when it's working

    Regex re = new Regex(text, RegexOptions.IgnoreCase); if (re.IsMatch(text)) //it will be working for long time if the regex is not very right ..... i can't have a timeout property for the regex member,so how i can solve this I know this doesn't answer the question, but it might be that the regex, for lack of a better term, is malformed and leads the processor into long processing times or a loop.... Could you give us the regex and example text on what it is supposed to look for ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is there any way to tell if a sampler has a texture attached in shaders?

    Is there any way to tell if a sampler has a texture attached in shaders The default behavior is getting black when no texture attached but I want it to be some other color. I agree that assuming stuff like this is a very, very bad idea, and should never be done under any circumstances. However... I was thinking about this very thing just the other day. It would be VERY useful if sampling from a sampler with a NULL texture was guaranteed to return white (or better yet, some value you could set in a register somewhere.) It would mean you didn't have to have different shaders for textured/non-textured objects. Sure, you could work around this by just setting a small white texture instead. But if the driver is ...Show All

  • Visual Basic Getting the caller procedure name from the called procedure

    Hello, I'm developing in a VS2003 environment using VB.NET. I suppose the thingh I'm trying to do is possible and has a trivial solution ... but after searching all day long the Internet I cannot figure out "how"..... Is it possible to get the name of the caller procedure (or function) from inside the called Procedure (or function). If yes what Class/Variable do I have to refer to I mean ... Proc_A calls Proc_B with no parms and Proc_B should be able to say " Hello Proc_A ... ask me for anything you like and I'll do it for you ..... " Thank in advance Daniele Balducci This may help ... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=566842&SiteID=1 ...Show All

  • Visual Studio Express Editions datagridview header change

    I am trying to add my own header names and have been very unsuccessful at doing this can someone point the way Thanks. Imports System.Data Imports System.Data.OleDb Public Class DatabaseClass Private theConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mail.mdb;User Id=admin;Password=;" Private theDataSet As New DataSet() Private theDataAdapter As New OleDbDataAdapter() Private theConnection As New OleDbConnection(theConnectionString) 'create our connection object Private Sub DoGetData() Dim theCommand As New OleDbCommand( "SELECT * FROM importdata" ) Dim theDataSet As New DataSet() theCommand.Connection = ...Show All

  • .NET Development Get a class from a string

    How can I convert a string to a class name Say I've got tClassString = "MyClass". How can I create an instance of MyClass from this Thanks, cdx Thank you guys for your help. Here is the code that I ended up getting to work. Assembly asm = System.Reflection.Assembly.LoadFrom("JobProcessDomain.dll"); String tProg = "JobProcessDomain.JobProcess"; Object myJob = asm.CreateInstance(tProg); ...Show All

  • Visual Studio Express Editions My form does not respond?

    Waht should I do if my form does not respond I have a button on my form that has an email code under it, so whenI press it, it sends email. The only problem is that when I press it, my for says "(Not Responding)" at the top. Then I get an error that says the operation has timed out..how should I fix this Mongsreturn wrote: Waht should I do if my form does not respond I have a button on my form that has an email code under it, so whenI press it, it sends email. The only problem is that when I press it, my for says "(Not Responding)" at the top. Then I get an error that says the operation has timed out..how should I fix this Hi, To avoid having your form act as "non-responding" when a time ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. For DX10, will there be a Managed API other than XNA?

    There are several things missing from XNA that make it only useful for specific scenarios; I understand this is intentional, and I agree with the move to produce a x-platform game-dev api that keeps focused on specifically what it is meant to do. But it looks like XNA is meant to completely replace MDX in the long run. Does that mean that any developer looking to work outside of the box a little, to explore new solutions, or to produce applications that don't belong under the typical 'game' umbrella, will be forced to use the low level DXSDK api's Currently, the only way to leverage certain kinds of functionality (for example, real-time audio data generation and manipulation) in managed code, is to use MDX. XNA will not provide access ...Show All

  • Visual C# problem with datasets for reports.

    Hi, I've recently testing the Microsoft report viewer and Microsofts reports and I discover some problems that I don't know how to solve I tested some datasets each one made with a diferent database (using always the same report), but the problem is that after I created one dataset and succesfull tested it, I deleted the Dataset and objects created and started over with another.... after that (when I feel confident enough) I started to build the report I was really going to use... but.. .BUT when I was going to set the Grid Data Set I realized that the name of the older datasets still exists but they DO NOT exists enywhere else in the project and I don't know how to get rid of those options. I even search throuh all the project fot the nam ...Show All

  • Smart Device Development Embedded Windows Media Player Control in HTML Page...Such a problem !

    Hello, In my program, I generate an HTML page, within a windows media player control, thanks to the <OBJECT> tag, with the "CLASSID:CLSID=22D6F312-B0F6-11D0-94AB-0080C74C7E95" type. The problem consists in the video display. When I open the .html file with Pocket Internet Explorer, I see all the video correctly, but when I put a webBrowser in my program and then I use the "Navigate" method, I only see the first half up of my video (not the half in duration). I have my windows media player control which have height="320" and width="240" but the video is Head-cut .... I hope you understand what I say, I'm french, so my english is.... :-( Thanks ...Show All

  • Windows Forms textBox Question

    is there a way to allow only ' a-z A-Z 0-9 ][{}()-* ' characters to be typed into a normal textBox the MaskedTextBox wont work in the way that i want it too. Im using VC++ 2005 thanks no still not working, ive seen similar code for doing this somewhere but i cant remember where although it may have been the same code. maybe someone out there has a solution to this mysterious puzle it doesnt seem to recognise the word ' Regex ' either so it could be that ...Show All

  • Visual Studio How to make RDLC Column Widths adjustable depending on data?

    Is there a way to make the data in report table (and matrix) to shrink to fit (as in a normal html table when no width is specified). The client requirement is to accomodate as much columns as possible on the report. The CanGrow and CanShrink properties of textboxes in the table do not help me with this. The width of the textboxes seem to be fixed in the report. Any help would be appreciated. Thanks in advance. Hi, I am facing the same problem what you faced. Do you able to find the solution for this Can you share any work around for this problem. Thanks. ...Show All

©2008 Software Development Network