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

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

shmulik_segal

Member List

MSP.Saami
RonanH
occam999
KDiv
Ali Khalid
Vipul123
bsavaliya972
Arul-R
AndyPham
dickP
d0r
Vihutuo
Joel Marcey
kdancer100
Taurkon
Michael_Giagnocavo
agustin_m
CsNetworks
Ian Barber
Heng-yi Liu
Only Title

shmulik_segal's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Multiple XNA Questions

    Hi, I looked at the FAQ for XNA and I couldn't find the answers to a few of the questions I have regarding it. So if someone could help answer my questions that would be awesome. ^_^ 1. Is it possible to sell games for money (either on Windows or 360) after they are 100% completed 2. How can I find out what shader model my graphic card supports (I want to find out if my computer will be able to handle the sample and starter kits that recommend Shader Model 2.0) 3. Is it possible to make online multiplayer games (Not to the extent of a MMORPG since I doubt it could do that (correct me if I'm wrong on that though), but what about something to the extent of a game like America's Army or something similar ) 4. If the last question ...Show All

  • Visual C++ Cannot read data from Access 2007 database

    Hi. I’m trying to read data from an Access 2007 database. I’m working with VS 2005 C++ on Windows XP SP2. I downloaded the 2007 Office System Driver found at http://www.microsoft.com/downloads/details.aspx FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en and installed it. My MDAC version is 2.81.1117.0. I’m using ADO (msado15.dll) to acces the Access database. Here is a simple sample code. void CAccess2007Doc::OnFileOpen() { if (SUCCEEDED(m_oDatabase.CreateInstance(__uuidof(Connection)))) { if (SUCCEEDED(m_oDatabase->Open("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\TestData\\Database1.accdb;Persist Security Info=False", "", "", -1))) { m_oDatabase->CursorL ...Show All

  • Visual C++ LNK2001: using unmanangedC++ in manC++

    Hi, i'm writing a new user-interface for a small software-company. The old interface should be replaced by the new one, the "inner core" should stay. The old program was written in unmanaged C++, but now I'm writing the user-interface in C#, so I have to use class wrappers. While building the managed C++-project (in a solution with the unman. C++-projects) there a some errors. For example: Error error LNK2001: unresolved external symbol ___argv nafxcwd.lib and Error error LNK2001: unresolved external symbol ___argc nafxcwd.lib Another one: Error error LNK2001: unresolved external symbol __pgmptr db.lib [db is one of the old unmanaged C++-projects] The settings are the following: Linker->Input->Add. Dep ...Show All

  • Visual C++ Using animated GIF image in Forms

    Hi, I'm trying to use an animated gif image in a form within C++/CLI but so far without success. I looked at picturebox control but the image stay still, no animation. I browsed the NET to find any clue to my problem and got a few articles stating the fact that I have to make somekind of class that would rather display one at a time each frame found in my GIF. Any clue or easier way, any example on how to do it Thanks in advance, Stephane Please see these articles Add GIF-animation to your MFC and ATL projects with the help of CPictureEx and CPictureExWnd Adding GIF-animation using GDI+ ...Show All

  • Visual Studio Express Editions Removing labels (scriptwise) doesn't want to work.

    I use the following code in my program to add some labels: Dim l As Label For i As Integer = 0 To 10 l = New Label l.Name = "LabelDay" & i.ToString l.Text = "Day" + i.ToString l.Top = 88 + (i * 20) l.Left = 5 l.AutoSize = True l.Visible = True Me.Controls.Add(l) Next i Now I want to remove them with: For Each c As Control In Me.Controls If TypeOf c Is Label Then Me.Controls.Remove(c) End If Next For some reason I have to run the remove function several times. Why doesn't my script remove all labels at once Try this: Dim C As Control For Count As Integer = Me .Controls.Count - 1 To 0 S ...Show All

  • Visual Studio Express Editions linking error

    I try to compile my windows program in Visual C++, but I got following error. ------ Build started: Project: MyProgram, Configuration: Debug Win32 ------ Linking... main.obj : error LNK2019: unresolved external symbol "void __cdecl MakeWin(char const *,char const *,struct HINSTANCE__ *,int,int,int)" ( MakeWin@@YAXPBD0PAUHINSTANCE__@@HHH@Z) referenced in function _WinMain@16 C:\VisualC++\Programs\MyProgram\Debug\MyProgram.exe : fatal error LNK1120: 1 unresolved externals Build log was saved at "file://c:\VisualC++\Programs\MyProgram\Debug\BuildLog.htm" MyProgram - 2 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== I have tried several .lib files, could you tell me, what s ...Show All

  • SQL Server Dynamic Security Stored Procedure Repeatedly Called

    I have implemented an SSAS stored procedure for dynamic security and I call this stored procedure to obtain the allowed set filter. To my supprise, the stored procedure is being called repeatedly many times (more than 10) upon establishing the user session. Why is this happening Thank you for helping out. As I mentioned, the dimension has some 2 mil members. I has a Security Filter attribute with some 50,000 members on which the allowed set is applied. The allowed set expression is StrToSet(<call to stored procedure here>). The stored procedure returns a comma-seperated list of the allowed members in the format [DimensionName].[Security Filter].&[key]. The stored procedure queries a d ...Show All

  • Windows Forms I can't figure this "Enter" thing out! Please help.

    Ok, so I am creating a web browser. Everything is fine and dandy, except I wanted the capability of the user pressing "Enter" after they type in the URL instead of having to go click on "GO" button. Thats nice... So I go to the properties of the combobox, select "Keydown" and create a new keydown event. In that event, I write: webBrowser1.navigate(combobox1.Text); I run the program... and It works alright! However, it automaticly tries to connect the the URL before I even get it typed... So by the time I type in www.yahoo.com , it's already navigated there without me pressing the enter key. This is a neat little thing, but I don't want it to work that way. Is there some kind of Break I can use to stop the URL in the U ...Show All

  • .NET Development Get SAP data

    Dear All, I used to develop program in C# to get some data in SAP. From this forum i learn to used proxy generated in vs2003 in vs2005. Lately I have some problem to used the same way in Visual Basic. Can we used the same way as i used to use when i develop in c# because in c# after add existing item, i just type "using <program name that contain vc2003 proxy" but in vb we use import and i can't fine the name Please help me..... Regards Freddy Dear Curtis, I don;t code for the proxy but the .NET Connector generate the proxy for me. Something strange is when I add "SAPProxy1.sapwsdl" I can used it in my code. But after I drag n drop my BOR to the design it became unusable. The error ...Show All

  • SQL Server Drill Downs in the Report

    I am working on a report in our application, when suddenly a design problem strikes me..how can i make the drill downs to be expanded initially if there is a record to show and not expanded if there is no record to show..is this possible in the reporting services 2005 any help will be highly appreciated..tnx in advance.. GOD bless us.. You can probably do this by putting a visibility expression on the drill down group that uses the IsNothing function to check for data in the datasource ...Show All

  • SQL Server Lift chart - Time out error SSAS data minign 2005

    Hi , When I try to get the lift chart I get following error. 'Failed to execute the query due to the following error: XML for Analysis parser: The XML for Analysis request timed out before it was completed. Execution of the managed stored procedure GenerateLiftTableUsingDatasource failed with the following error: Exception has been thrown by the target of an invocation.Microsoft::AnalysisServices::AdomdServer::AdomdException.' It works fine sometimes. It fails always while trying to get lift charts for two or more models and also for model which has more data (it looks like). Thanks, vikas You can change the default timeout setting in Visual Studio: Tools->Options->Business Intelligence Designers->A ...Show All

  • .NET Development How i can start to programming messenger

    Hellow i want to make chat program on internet as msn with c# how i can start with this and if there is website demonstrate this thanks start taking a look at the Socket classes and its examples: http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx http://msdn2.microsoft.com/en-us/library/system.net.sockets.networkstream.aspx http://msdn2.microsoft.com/en-us/library/system.net.sockets.socket.aspx these are the core classes that handle TCP communication. ...Show All

  • SQL Server Connecting to SQL Server 2005 remotely via windows authentication

    Hi I have installed SQL Server 2005 onto a server and then on my client machine I have installed SQL Server 2005 and the Server Management Studio. When installing it on the server I chose all the defaults so have not setup an sql username or password to connect as I thought I could use Windows. I go to the Server Management and registered servers, create a new one and enter the ip address of the server and choose Windows Authentication. The following error keeps appearing though and I am not sure what settings/where to check: Login failed for user ''. The user is not associated with a trusted SQL Server connection. (.Net SqlClient Data Provider) I have checked and think port 1443 is open on the server, tcpip is enabled but w ...Show All

  • Visual Studio Team System Bug in 'Move' feature?

    Hi, Here is a reproduction of the steps I took. I had a folder in TFS at the path $/Root/Recon. I mapped a local path to it in my workspace (C:\Dev\Recon). I then attempted to move the folder in TFS to another location and received a message to the effect that a move could not be performed because the fodler was mapped to a local path. That was ok, so I removed the mapping. Then I tried again and got this error: No appropriate mapping exists for c:\Dev\Recon. I tried this multiple times with the same end result. I even shut down VS and restarted it. Finally, I another random TFS folder to c:\dev\recon. THEN only it worked. Sounds like a bug. Or was I performing the move incorrectly If both the source and target are mapped when you t ...Show All

  • SQL Server Creating a table from .NET

    I need to create tables from a C# code. I made a stored procedure hoping that I will pass a table name as a parameter: @tabName. The procedure executed in SqlServer All Right but when I called it from C# code it created not the table I put in as a parameter but table " tabName ." Otherwise everything else was perfect: coumns, etc. Here is my stored procedure. set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[CreateTableTick] @tabName varchar(24) = 0 AS BEGIN SET NOCOUNT ON; CREATE TABLE tabName ( bid float NULL, ask float NULL, last float NULL, volume float NULL, dateTimed datetime NULL ) END What went wrong Thank you. To be honest, I wouldn't expect the SProc you've listed to work the ...Show All

©2008 Software Development Network