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

Software Development Network >> Muhammad Adnan's Q&A profile

Muhammad Adnan

Member List

kirillkin
balusmca
Gaya_3
eman1975
tolily
LKeene
redneon
xavier.oudin
jfkennedy5
SVBG
Tom_Liu
Ralf_from_Europe
MaciekWojcik
tomdart
SQLDBALIZ
Ravel
Tarh ik
Sniper167
Will George
pwinant
Only Title

Muhammad Adnan's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Help : DXUT with Stack OverFlow

    Hello everyone, I am a beginner of d3d. I copied the EmptyProject sample from SDK to my workspace, then add the code that draw primitive. When I debug the program, if I resize the window, it crashed down, IDE shows "Stack Overflow",pointed the lines DXUTState& GetDXUTState() { // Using an accessor function gives control of the construction order static DXUTState state; return state; } I knew the DXUT is written thread-safely, maybe I have not add code to do some resize work in DXUTSetCallbackMsgProc or DXUTSetCallbackFrameMove Why Thanks. #include "dxstdafx.h" #include "resource.h" LPDIRECT3DVERTEXBUFFER9 g_pVB = NULL; LPDIRECT3DTEXTURE9 g_pTex = NULL; struct VERTEX{ D3DVECTOR vpos; D3DVECTOR no ...Show All

  • Windows Forms User Interface queries

    Can someone advise how I can create a user interface in VB 2005 similar to the one shown in the below link http://www.hornbill.com/products/awd/sci/_images/gallery/assetworks_today.jpg Regards Dipendra To develop it yourself, it depends on your skill-level. But to my guess, in your situation the best way is probably look for (commercial) components which will suite your needs. It's much, much faster than try to create your own component suite. And thus, more cost efficiently. Try some trial versions of commercial suites: then you'll have a better guess of what components you need. And if you're planning on developing components such as them yourself, you'll at least have a better estimate on the ...Show All

  • Smart Device Development How do I work with a class???

    Hola!! Hi, I'm developing a pocket pc application, and I have some problems working with a class. Firs of all I define de Class: Public Class OnlineFutur Public Shared Posicio As Int64 Public Shared TempsSegBola As Int64 Public Shared VelocitatPilota As Integer Public Shared Efecte As Integer End Class then I declare a variable as: Dim Registre As OnlineFutur And then I try to change the parametres of Registre: Registre.Posicio = 5 But this last line get the following error: "Acces of shared member, constant member, enum member or nested type trough an instance; qualifying expression will not be evaluated" I dont know a lot of Visual Basic ...Show All

  • Visual C++ Errors of LINKER

    When I use a CWaveFile class and declaring an instance under a button1_Click event as example I have Linker's errors,and I include all requirements of using this class, if you want the code tell me at my email: aimnour@yahoo.com. The Linker's errors are: Error 1 error LNK2028: unresolved token (0A00000E) "public: __clrcall CWaveFile::~CWaveFile(void)" ( 1CWaveFile@@$$FQAM@XZ ) referenced in function "private: void __clrcall Capture1::Form1::button1_Click(class System::Object ^,class System::EventArgs ^)" ( button1_Click@Form1@Capture1@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z ) Capture.obj Error 2 error LNK2028: unresolved token (0A00000F) "public: __clrcall CWaveFile::CWaveFile(void)" ( 0CWave ...Show All

  • SQL Server EXEC in SQL Functions

    Hi, I need to pass a table name and id to a function and return a row count I need to use EXEC or SP_EXECUTESQL to run dynamic SQL It wont work in functions. Following is my function alter FUNCTION [dbo].[GetRowCount] (@TblName NVARCHAR(25) , @Itemid INT) RETURNS INT AS BEGIN DECLARE @RowCnt INT set @RowCnt = 0 DECLARE @Sqlstring nvarchar(2000) set @Sqlstring = 'SELECT @RowCnt = COUNT(*) FROM ['+ @TblName +'] WHERE Itemid = '+ convert(varchar(10),@Itemid) EXEC @Sqlstring RETURN @RowCnt END while executing this I get the following error .... "Only functions and extended stored procedures can be executed from within a function." and "Incorrect syntax near the keyword 'EXEC' " does anyone have any ideas of this Thanks ...Show All

  • Visual Studio Team System Relative path for Data Source files in Web Tests

    Hi, In my web test I am using a .csv file as a data source. Is there any way to provide the relative path name instead of hard coding it. The purpose is, I may need to copy the whole web test onto another machine where the absolute path may fail. Thanks You can do two things: 1) put the file on a share and use that path in the test. This is recommended. 2) use '.' as the directory name to the path. There have been problems with this at design time as the current directory is not the same as the web test directory. Users have reported that always opening the project from explorer is a way around this problem. We are fixing this in our next release. Ed. ...Show All

  • Software Development for Windows Vista workflow data??

    I have a problem with the re-hosting sample. When I define properties for workflow it didn't retained when I re-open the workflow, i.e. loading problem. I read a thread in this forum that talk about this issue but without a solution. I don't now if any body had found a solution for this problem because I stuck in it and I want to finish my project. So please if any body can help me in this I will be appreciated because I don't know exactly where the problem is thanks..   Thank you Tom for your response…   I read about codeDom to know exactly whay are we using it. I found out that CodeDom is for developing automatic source code generators. The goal of code generators i ...Show All

  • .NET Development Time zone conversion problems

    Hi, I'm trying to parse a date time string that is always in ET time zone. The resulting time should be converted to local time. I could do that by backadjusting the ET time and converting to UTC. However, the issue is that I don't know if ET is currently in DST or not, so that I don't know how many hours I have to backadjust. Is there a framework built in way to get the UTC offset for any time zone Thanks, Tom There seems to be no "easy" solution for this problem. I was once tasked to write a "simple" report that displays statistical data for a Web app for one day; problem is the defintion of one day in relation to a specific region is different depending on what time zone the person ...Show All

  • SQL Server Stored Procedure Transfer - Best way

    Question What is the best way to transfer Stored Procedures to another db without having to script it Or is scripting the best way WHY We need to transfer stored procedures from one development database to another on different machines not on the same network. Platform Studio 2005 SQL Server Management Studio Express advTHANKSance I actually cross-posted this...got a different answer. I concur with the scripting, that is what we did, but could you provide thoughts on the other post Thanks. ...Show All

  • Visual Studio 2008 (Pre-release) Disjoint and updatable

    Hi team. First of all thanks for an interesting and promising CTP. Trying to do some experiments with the august-CTP I came across the following error message: Problem in Mapping Fragment(s) starting at line(s) (17, 22): Data in C-space will be lost when storing in table FlexFields: The tuples in table FlexFields for the configuration [FlexFields.FIELDID = '100005'] and the tuples in this table for the configuration [FlexFields.FIELDID = '100006'] are disjoint but the corresponding entities in C-side extent(s) (Users) are not necessarily disjoint Sure I can see why this is a problem but could't it be I just wanted to fetch the objects and not store them again Is there any way to do this Jesper ...Show All

  • Gadgets activex dll vs .net dll in sidebar gadgets

    Why can I load a .net assembly in an IExplorer browser as per this example (html page and dll are in the same dir): <OBJECT id="myControl1" name="myControl1" classid="ActiveXDotNet.dll#ActiveXDotNet.myControl" width=288 height=72> </OBJECT> that's from this sample: http://www.c-sharpcorner.com/UploadFile/dsandor/ActiveXInNet11102005040748AM/ActiveXInNet.aspx ArticleID=99d9681d-84de-4d64-9c85-9ae9c15a4ee7 but for a sidebar gadget I have to have to assign a guid to my class, make it com visible, write to the registry and all that as shown here: http://blogs.msdn.com/jaimer/archive/2006/10/02/writing-a-.net-activex-control-for-your-sidebar-gadget_2E002E00_.aspx I thought sideba ...Show All

  • Windows Search Technologies Vista Machine with Office 2007- Outlook not finding emails. Instant Search/Indexing issue

    Hi, I have search everywhere for a solution and still I do not seem to find a solution. Outlook is not finding any emails (instant search). I think it is not really indexing anything. Vista search works perfect (seems like it). The index says it is done (outlook is included on it) As I receive emails, the list of pending items to index just grows and grows. I am using pop accounts not exchange. (I already checked the instant search options, the indexing thorugh control panel). Any ideas. I spent the last two weeks searching for a solution, and I have read and follow the suggested solutions from microsoft, but still is not really finding anything.. so frustrated!. Thanks for reading this, and I hope somebody can help me ou ...Show All

  • SQL Server How can i split the rows in 2 textboxes - Urgent

    Hi, I have a report and its been populating from a sproc. and i have 2 text boxes called both of them are poplulated by Fields!Investment Names, but right i can display the data left to right but i want to display the Data starting top to bottom and then towards the right. I tried grouping the data in this way for one text box = CountRows()/2 > 10 . and this shows all the records one below the other, so is there a way that i can display half the records in one text box and the other half in the other text box. I am going kinda nuts over this. Can someone please help me. Regards Karen Sounds like you will need to use some conditional visibility and math on the rowcounts. Try using a ...Show All

  • Windows Live Developer Forums Searching for one way roads.

    I'm trying to figure out how to search for one way streets in the current view and display them as either pushpins or highlighting the road. Any idea on how I'd go about doing this ...Show All

  • SQL Server Reporting Services passing values from Subreport to Main report

    I am just starting to create all new reports using Reporting Services. I will have many instances where I will have to pass values from a subreport to the main report. How can this be done I hope the following link will help you solve your problem. http://msdn.microsoft.com/library/default.asp url=/library/en-us/rshowto/htm/hrs_designer_v1_1ed0.asp --Amde ...Show All

©2008 Software Development Network