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

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

refaeldakar

Member List

JIM.H.
Tomasz24311
Rei Miyasaka
acm programmer
Phillip Turner
MR123
Vlad Bezden
bonni
Jemau
ignitionflip
sreejith s
Ajeeth Kumar
Robby-rice
Chintan Vyas
thukralz
RoadGlide
Player 11
Keith Chapman
Keith Chapman
j2associates
Only Title

refaeldakar's Q&A profile

  • .NET Development Calling webservice method passing an array list of instances of user-defined classes

    HI All, I am new to webservices. I hope you can answer this question for me... How can I pass an instance of a class I created to a webservice Or is this something impossible The error I get is: "There was an error generating the XML document" with the following inner exception: InnerException = {"The type System.Collections.ArrayList may not be used in this context."} I think it is a problem with serialization (am I correct ) but don't know where to start ******************************** This is the class I want to pass the instance of: public class tester3 { public string myVar = "Hello" ; } ******************************** This is the class that communicates ...Show All

  • Visual C++ LINK WARNING 4221 How to handle the situation

    Hi, I am frequently getting LINK 4221 warning and my shared library Loading is failing. How to handle the situation. Could someone please guide me Thanks Jayaram Ganapathy I have around 5 lib(static library) files. I have C++ code in these static libraries. I created a shared library and linked these .lib files. Some functions in these lib files, if I call from the DLL code, the dll is not getting loaded. One time I deleted an object file which was giving this warning and was able to use a function in this file. I will explain it in another way also. I have a constructor call. If I comment the code and build the shared library, that dll I am able to load with LoadLibraryExW call. But if I uncomment then the build happ ...Show All

  • Visual FoxPro Right Screen in VFP 9.0

    How Can I make a Program Designed by VFP 9.0 Language Start from Right to Left Without Pressing (ALT + Right Shift) Keys Thanks 0x0401 Arabic (Saudi Arabia) 0x0801 Arabic (Iraq) 0x0c01 Arabic (Egypt) 0x1001 Arabic (Libya) 0x1401 Arabic (Algeria) 0x1801 Arabic (Morocco) 0x1c01 Arabic (Tunisia) 0x2001 Arabic (Oman) 0x2401 Arabic (Yemen) 0x2801 Arabic (Syria) 0x2c01 Arabic (Jordan) 0x3001 Arabic (Lebanon) 0x3401 Arabic (Kuwait) 0x3801 Arabic (U.A.E.) 0x3c01 Arabic (Bahrain) 0x4001 Arabic (Qatar) DECLARE LONG LoadKeyboardLayout IN User32 STRING pwszKLID, INTEGER Flags ...Show All

  • Windows Forms Taskbar Toolbar

    Bar bar bar. Ok ladies and gents, could you point me in the direction of where I should be looking for info on making an app act as a Toolbar that resides solely in the Taskbar I'm specifically looking to create an app that will pretty much be a TextBox and a Button residing down there. I've searched the forums and CodeProject but haven't seen anything helpful so far. Thanks! Well darn. Ok, next step: where should I look to get started doing this with <shudder> unmanaged C++ Links would be very much appreciated. I have done C++ before so we don't need to get into links like "here's what main does!" :) Thanks again! p.s.: My "<shudder>" above was because I'm so unfamiliar right now with unmanaged cod ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How can I draw a flat Sprite in 3D space using transparency/alpha layers?

    Hello XNA community, I am currently working on a level editor that renders in 3D for a 2D game (think New Super Mario Bros). I am using DrawIndexedPrimitives with 24 vertices to draw cubes, wedges, and other simple shapes that make up individual tiles in the game. When I use a similar technique to draw a 2D sprite in 3D space (let's say, a PNG file with transparent space in some areas of the file), the transparent parts of the image file end up being a dull ugly white color when pasted onto an indexed primitive in 3D space. How would I be able to draw these in 3D space with transparent elements (for effects like grass, trees, mountains, etc) Please note that I do know how to use a SpriteBatch to draw 2D elements in 2D space. Once again, I ...Show All

  • SQL Server Metadata Model in SSIS 2005

    Hi *, Can anyone tell me what Metadata Model Microsoft supports with SSIS 2005 DTS in 2000 was supporting OIM but I was not able to get some information about this topic on SSIS 2005. The reason I need to know is that I wanna import some metadata from Business Objects Data Integrator into SSIS 2005 and Business Objects is supporting CWM.... I would appreciate your help! Thank you, Steve Hi Jamie, interesting paper. Thanks again. Well, I think SSIS can perform ETL Jobs pretty well. But it's not a professional data integration platform, since there is no impact analysis, data lineage, metadata exchange, no out-of-the-box support for enterprise systems, etc. I would prefer Data Integrator even though its inital costs are much higher... ...Show All

  • SQL Server export OLAP in SSAS 2005 to excel pivot table

    Hi genius, Nice to meet you here! When developing BI programs with SQL Server 2005, I got this problem: Users want the report should be exported in office excel 2003 format, and stored in PIVOT TABLE. We have decided to use OLAP tech in SSAS(SQL Server2005 Analysis Services) to generate cubes. If we just use excel as a client tool, and create a pivot table which connects to the cube database, it's ok. But, the users want to download the excel file from a web page, further more , they want to filter the data through the web page. How can I do Is there any other component needed Help inline. Thank you! We have almost the same problem. If you take a look at Office Web Component that might s ...Show All

  • SQL Server Save Word Doc in Db

    hi can u tell me plz how do i save a word doc or and excel sheet in sql server thanx here's an example, it's super easy... using ( SqlConnection conn = new SqlConnection ( Globals .ChatterDbConnectionString)) { conn.Open(); using ( SqlCommand cmd = conn.CreateCommand()) { cmd.CommandText = "update account_image_available " + "set " + "image = @image, type = @type " + "where " + "opgroup = @gid" ; cmd.Parameters.AddWithValue( "image" , data); cmd.Parameters.AddWithValue( "type" , type); cmd.Parameters.AddWithValue( "gid" , og.Id); cmd.ExecuteNonQuery(); } ...Show All

  • Windows Forms user notification

    What is the best way to inform the user of a application that there are some changes to data or new data that they should look at. Polling the database A service that is polling the database and sending messages to the app Other........ Remco File Watcher could be one of the solution. Any change in the records, change a file content and trigger the file watcher. But one thing I am unsure is, If it Works in Win Forms or Only Asp.net ...Show All

  • Visual C++ Screencapture and pixel problem

    hello! I have a problem to take pixel from captured window.. Here is my code example: Color Screen_class::takeScreenshot(HWND window) { HDC hDC; HDC hMemDC; hDC = GetWindowDC(window); hMemDC = CreateCompatibleDC(hDC); RECT r; GetWindowRect(window,&r); SIZE size; size.cx = r.right-r.left; size.cy = r.bottom-r.top; hBitmap = ::CreateCompatibleBitmap(hDC, size.cx, size.cy); if (hBitmap) { HBITMAP hOld = (HBITMAP) SelectObject(hMemDC, hBitmap); BitBlt(hMemDC, 0, 0, size.cx, size.cy, hDC, 0, 0, SRCCOPY); Color col; col = Image::FromHbitmap(hBitmap)->GetPixel(160,485); SelectObject(hMemDC, hOld); DeleteDC(hMemDC); ReleaseDC(NULL, hDC); DeleteObject(window); DeleteObject(hBitmap); ...Show All

  • Visual Studio 2008 (Pre-release) Using XLinq with ADO.NET August CTP

    The ADO.NET CTP shipped with a new version of the System.Query.dll. What's the recommended approach for using things like System.Xml.XLinq that require the old version that shipped with the May CTP Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Query, Version=1.0.2319.19041, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'System.Query, Version=1.0.2319.19041, Culture=neutral, PublicKeyToken=null' Hi Steve, ...Show All

  • Visual Basic Use the PictureBox.SizeMode Property

    I am using a re-sizable pictureBox to view image files in various re-sizable forms. My problem is that when I enlarge the pictureBox using '.AutoSize', scroll the form (if necessary to view image). Then shrink the pictureBox back to it's original size using '.StretchImage'. The form does not always resume the previous form size, and the pictureBox has been re-positioned in the form. I do not use any code re-positioning the pictureBox, and if I add code to reset the coordinates it doesn't work. Here is the code I use, it works as I expectted with VB2003 Private Sub pbxPicture_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles pbxPicture.Click If pictureHeight < 10 Then pictureHeight = pbx ...Show All

  • SQL Server SQL2005 Log files will not shrink

    Environment is Win2003 server (standard) with SQL Server 2005 (action pack version with SP1) installed. Database files are split, with the Data file on D: and the Log files on E: The data base is not heavily used (probably less than 6 users at any given time) and is predominently used by users to read data via stored procedures. Data is read by VS2003 VB.NET business objects remoting to the server. SQL agent runs a "Shrink all Databases" job each night. Here's the problem. The transaction log files are growing continuously. One database now has a 60GB log file. After shinking, the task reports 99% free space but this space is not released back to the operating system. I have tried shrinking the entire database, shrink ...Show All

  • Visual Studio Team System Source Control Explorer Doesn't View PDF Files

    At our site the TFSVC Source Control Explorer is not mapping PDF files to Adobe Acrobat when attempting to view a PDF document stored in version control.  Upon attempt of a view a PDF an error dialog is displayed: "The line endings in the following file are not consistent...".  I have tried all options in this dialog and searched for settings elsewhere to configure PDF file types.  How can we fix this problem Yuck. This is actually a Visual Studio issue (try dragging a PDF from explorer to VS and you'll get the same behavior). I'll talk to the team and see if we can possibly work around this, but it'll be dicey. If you view the file from the command line (tf view filename ), you'll get the pdf open in Acrobat (or ...Show All

  • Windows Forms hierarchical dataviewgrids

    Hello All, I am new to VS 2005 and VB, my experience is Excel and Access VBA. I am trying to create three hierarchical datagridviews on a single form. In Access this is easily achieved using subforms. I have found several peices of code that show me how to set a dataset, add the data adapters, add the relationships and then bind the data sources. All very well and I am prepred to code along these lines if necessary. Since I will be using teh same data tables in a few places in teh Windows App I have already defined my dataset in the VS2005 Data Sources Window. Within that dataset the relationships between the three tables are defined. If I then drag and drop the individual tables from the datasources win ...Show All

©2008 Software Development Network