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

Software Development Network >> Tamim Sadikali's Q&A profile

Tamim Sadikali

Member List

buddy_dotcom
spree
Pedro A. G. Carvalho
susy_pmm
rt_ak1949
Pooja Katiyar
GMan5309
Andy Ho
Sreekk
Jason Saunders
vb_n00b
Solitaire
Corby111
Webstar
beavx420
korayko
velibicer
Thomas Schneider
Matt Olson
vtortola
Only Title

Tamim Sadikali's Q&A profile

  • SQL Server How to display unknown data of fact table?

    I have the following question: When there is a fact and dimension tables with a regular relationship and the fact table has some records that are not covered by this relationship, is there a way to display the data as unknown In my case there is fact table "A" with "AppId" column and dimension table "B" with "AppId" PK, there is no relationship between the 2 tables, because not all "AppId" fields of table A exist in table B. Is there a way to display ALL the data from fact table A, including these records with unexistent "AppId" field Based on this past post from the SQL Server OLAP newgroup, this seems to be a known issue (don't know if ...Show All

  • Visual Studio Double-click to View Code?

    Can I configure VS 2005 so that when I double-click on a .cs file that has an associated form it will open the code view rather than the form design view Once the form is substantially done I rarely open it again but the code view is opened routinely. I know how to set it locally: right click the file in the Solution Explorer pane, select Open With, choose CSharp Editor (not Form Editor), then click Set as Default. ...Show All

  • Visual Studio Express Editions Somthing missing

    Hello All I have some kind of homework ...the good news: i did it but the problem is that the drawing never completes. I have to build a recursive sub to draw nested circles, but the program is that it only draws on a spesific part of the form. I need an advise how to solve the problem, to complete my HW and send it to my totur. the code is : Dim graph As System.Drawing.Graphics = Me .CreateGraphics Sub circle( ByVal x As Integer , ByVal y As Integer , ByVal rads As Integer ) Dim x1, y1, x2, y2 As Integer x1 = Math.Cos(4 * Math.PI / 180) * rads y1 = Math.Sin(4 * Math.PI / 180) * rads For t As Integer = 4 To 360 Step 4 x2 = Math.Cos(t * Math.PI / 180) * rads y2 = ...Show All

  • Visual C# How to open folder from C# code??

    Please guide me how can we open a folder from C# in a LAN The following should do it.... The key is Path or File...also Path.GetDirectoryName will show folder. GDR private string fileToSvr( string strSrc, string strDest) { //Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath.ToString()) string fileNm = Path .GetFileName(strSrc); string path = @strSrc; string path2 = @strDest; try { File .Copy(path, path2, false ); } catch ( Exception ex) { String err = ex.Message; return "" ; } return path2.ToString(); } ...Show All

  • Visual Studio Express Editions Error found during comfile~ please help

    Hi, everyone I am just trying to run some simple example file (from the board) well...the code seems work fine....but..when i do the complie Firstly, i did build the solution and the window said something like below: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Build startrd: project:wincai03.............. Compiling.... WINCAI03.C can not open include file:'windows.h': No such file or directory =====Build:0 succeeded, 1 failed, 0 up -to -date.0 skipped=== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ So i was wondering what is about this windows.h file..... Can anyone help me please Thanks The express edition doesn't contain the PSDK headers. windows.h is part of the PSDK headers. Take a look at http://msdn.microso ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectShow

    Hey I can be wrong, but there isn't a directshow in the latest directX for C#! My question is Why I am writing a program where there are several forms that are fed by a data server with various data... floats, strings, audio and video and I was panning to use direcctShow!!! But found out that it wasn't available... Can anybody tell me a work around this problem I would really appreciate the help... Take care ... The direct show system was removed from the sdk a while back and was moved to the platform SDK. Here is the Forum group for direct show on this site, you can still ask your questions there and get help on it, but you will have to use one of the managed wrappers for the syste ...Show All

  • Visual C# ERROR: Fileupload2 does not exist in the current context

    I have a formview(visual studio 2005) which contains a fileupload control named 'FileUpload2'. I get an error message saying ' FileUpload2 does not exist in its current context. I have tried placing my code evrywhere on the .cs page and the same error occors. please help me!!!!!!!! protected void Button1_Click(object sender, EventArgs e) { FileUpload f = (FileUpload)Page.FindControl("FileUpload2"); FileUpload upload = (FileUpload)FormView1.FindControl("FileUpload2"); String savePath = @"\Images\"; if (FileUpload2.HasFile) { String fileName = FileUpload2.FileName; savePath += fileName; FileUpload2.SaveAs(savePath); } } Above is the .cs file where the error occurs. below is the aspx page: <InsertItemTempl ...Show All

  • Smart Device Development Timer tick count

    Hi, I am having this annoying problem with incrementation of int values in timers. int i = 0; private void timer1_Tick(object sender, EventArgs e) { i++; } The output of i is 2, 4, 6, 8 and so on. There is some strange double increment for every time the timer ticks. It is a Systems.Windows.Forms Timer. My questions are: 1. Is there some already implemented tick count I can use 2. It seems like some method calls from inside the timer1_Tick method (or all method calls in there, possibly) are also called twice in every tick. Just like the i++. How can I prevent this Thanks Olle Hi Olle, your code is correct, and the behaviour is strange! i think the problem is on the output method, i think it displays the output after the tim ...Show All

  • SQL Server Dropdown parameter in Report Builder

    Hi, Is it possible to create a dropdown parameter in Report Builder The result I want to get is (for example): The parameter is "Project". Next to the parameter should be a dropdown box from where I can select a project (for example: project1, project2, ...). Once the parameter is selected, and I click "view report", the report should only display data from the selected project. The only other options available in the Filter dialog screen are: "Field" is in list "Field" contains "Field" equals But none of these methods of creating a parameter generate a dropdownbox from where items can be selected, equal to those in the database. So ... is it even possible to create a dropdown p ...Show All

  • SQL Server CASE When

    I'd like to make a query, to show All Clients Added the current Month, and all Clients Added YTD in 2 distincts columns. the selection is made by a columd named DateAdded. I wrote the following code: SELECT CASE WHEN (MONTH(CreationDate) = MONTH(GETDATE())) AND (YEAR(CreationDate) = YEAR(GETDATE()) ) THEN COUNT(ClientID) END [Current Month] , CASE WHEN (YEAR(CreationDate) = YEAR(GETDATE())) THEN COUNT(ClientID) END [YTD] FROM tblClient But I don't know how to group by. Anyway i would greatly appreciated for any help. You should write the query like below: select sum(case when month(CreationDate) = month(CURRENT_TIMESTAMP) and year(CreationDate) = year(CURRENT_TIMESTAMP) then 1 ...Show All

  • Visual C++ what is Deep Copy, shallow copy and bitwises copy.?

    what is Deep Copy, shallow copy and bitwises copy. is there any difference between them... help me. manish Shallow copy means, just bitwise copy the  objects. Deep copy means copying the content of the pointers present in your object i.e. class A {     int* p; }; main() {     A a, b;     a = b; // now a->p and b->p will point to the same location since it is bitwise copy which is not safe }   but if you define class A {     int* p;     int nSize;    operator = (A& a)    {        if(p != NULL)           delete []p; &nb ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. .x mesh file loading spend too much time, any solutions?

    I built a very complex model, with almost 600'000 faces, after I optimized it, remains 90'000 faces, and I converted to .x file, whether binary or ascii format, the loading takes too much time, almost 40 seconds, but the other software like deep exploration, open it in a flash time, is there any solution to improve the loading speed Thanks. Thank you, but that remains useless. and that code comes from dxut's CDXUTMesh::Create, the pAdjacencyBuffer will be used in OptimizeInplace method. I think loading the .x file format likes reinterpreting, that's why reading .x so slow. may be use another file format like .3ds will be better. but I didn't find a suitable .3ds loader, I found many, stable lo ...Show All

  • Visual Basic Joining date and time

    A while back someone posted on how to join a date and time into a single part. So for example if I have "1/1/2006" and say "10:00:000 PM" it'll be combined to look like the long time format without using string concatenation. I don't remember the keyword used for this. What was it You can try: Dim dt As DateTime = Convert.ToDateTime( "7/1/2006 10:35:12.468PM" ) ...Show All

  • Visual C++ problem with moving project from vc++2003 to vc++2005

    hello all, i am porting my projects from vc++2003 to vc++2005 express and having several problems. I want to use some libs that are old and compiled with vc++2003. is that even possible, or any kind of workaround to my problem i know that there have been some changes concerning the iostream implementation, i am not sure thou if this does affect me or not. any comments appreciated. i checked my project settings and i compiled everything with /MDd thank you very much the errors i am getting are: msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,st ...Show All

  • Visual C++ c++/cli wrapper assembly fails to load

    Hi, I have a class A (unmanaged code, exported in A.dll). I wrote a wrapper B in a new assembly interfacing class A and its members/methods. This is all done in Visual Studio 2005 Standard. Now I wrote 2 test programs - the first as c++/cli and the second in c#. No matter which of those two I invoke, on startup a BadFileImage Exception is thrown. And the first line of code is never reached. What can be wrong here I have a similar project, where a class A is exported by a static library. In that case, everything works as expexted. I do not understand what's going wrong here. Any help is appreciated. ...Show All

©2008 Software Development Network