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

Software Development Network >> Albert Benatov's Q&A profile

Albert Benatov

Member List

XJDM003
Puzzl3b0x
Menachem_P
Krad
oldSAP
Jafar Bhatti
LukeyPoo
Aelx
Alexey Rokhin
Raoshan
KRSE
Walter Luszczyk
Jassim Rahma
IamHuM
a0-0b
Bodylojohn
Cmeyla
DanglingChap
ronnie2002c2c
raghu_grdr
Only Title

Albert Benatov's Q&A profile

  • Smart Device Development CF to load&insert image datatype into SQL Server 2005?

    please.. can you help me to load & insert image into SQL VB.net sample code will be great. thx b4 and another thing, how can we make an on the fly events such as onclick of a button thanks Ilya, but i found another link this is how I insert Dim fs As New FileStream _ (OpenFileDialog1.FileName, FileMode.OpenOrCreate, _ FileAccess.Read) Dim MyData(fs.Length) As Byte fs.Read(MyData, 0, fs.Length) fs.Close() con.Open() Dim da As New SqlDataAdapter _ ( "select * from detailImg " , con) Dim MyCB As SqlCommandBuilder = New SqlCommandBuilder(da) da.MissingSchemaAction = MissingSchemaAction.AddWithKey da.Fill(ds, "img" ) Dim myRow As Da ...Show All

  • Visual Studio Team System Can a test belong to multiple Test Lists?

    Our project is getting to the point where there are so many tests, that we would like to organize them into groups. I attempted to use Test Lists to do this, and set up different batches of tests that would be run for different purposes. I would like a list for all unit tests, a list for unit tests relating to a specific functional area, a list for all integration tests, a list for all unit tests + all integration tests, etc. However, it appears to me that a test can only appear on one test list. Is this true If not how can I add a test to multiple lists Right now I am just selecting the All Loaded Tests in Test Manager, and dragging the test name to the target Test List on the left. Thanks, Dylan ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can you have a camera without an effect?

    From what I can tell you HAVE to use an effect to setup the position of the camera; is this right Are there any XNA-centric examples of how the HLSL works and how to use it Jim.Welch wrote: I'm pretty sure you don't need to use an effect for a camera. Effects are just for drawing objects. A camera just defines your view and projection, etc. There's a couple camera examples in the help files and a few FX examples in the help files, also. Well, actually since they removed the methods from the graphics device to set the view and projection matrices you now need to set the camera via shaders. Objects generally are position via the World * View * Projection Matrix in the vertex shader. In XNA this can be acomplished using t ...Show All

  • .NET Development Identifying Domain/Workgroup

    I need a way to identify on what domain or workgroup a particular computer belongs. Does anyone know of an easy way to do this I'm just identifying computers via the System.Net.NetworkInformation.Ping class, so if there's maybe a more efficient system that's already implemented through the shell or something to view all the computers on the network and their shares that would be great and appreciated as well. ...Show All

  • Smart Device Development execute application

    how can i build appliction for execute it for pocket pc wen i finish my design ...Show All

  • SQL Server Creating a Maintenance Plan via the Command Line

    Hello All, I've searched high and low for documentation on this to no avail. Basically my goal is to create a maintenance plan in SQLSERVER2005 via the command line. I need to create this plan in a way that it can be seen in the list of Maintenance Plans in the Management Studio Interface. I went into the SSIS designer and created my plan. I now have a DTSX file. I tried the dtutil.exe utility, however i never saw my maintenance plan in the list of plans. I ran dtutil.exe and did /FILE to /SQL but i don't see the plan listed or in a way a user could modify it, which is of the utmost importance to my clients. How do i get my file to turn into a real running Maintenance Plan that is seen in the list of Maintenance Plans via the ...Show All

  • Software Development for Windows Vista Workflow Instances persisted by different hosts

    Hi, For example, I have 3 Winform Workflow host applications (with 3 different workflows also). They all using the SqlPersistenceService. Now I want to add a function to each of them to check the persisted workflow with the routine like this Dim instances As IEnumerable(Of SqlPersistenceWorkflowInstanceDescription) instances = PersistenceService.GetAllWorkflows Dim instance As SqlPersistenceWorkflowInstanceDescription For Each instance In instances System.Windows.Forms.MessageBox.Show(instance.WorkflowInstanceId.ToString) Next Everything work fine. But if I added the the to check the Status of the workflow (with StateMachineInstance) or try to load the workflow with : Dim Wfi As WorkflowInstance ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problems implementing a skybox

    Perhaps somebody with more experience could help me. I want to implement the skybox example from the DirectX SDK (Samples/C++/Direct3D/StateManager) and I've copied and renamed the following files (skybox01.x, skybox02.dds and skybox03.fx) to my project folder and have added them to the content pipeline. But I don't get it managed to load the skybox with her texture and set the camera to the center of the box, I think because I don't know how to handle the effects of the *.fx file and how to transform the box correct. (I'm new to XNA and I only have tried out the simple 3D examples with BasicEffects from the help files so far.) So if somebody has the time to show me how to handle these files correctly, I would be very glad. (You c ...Show All

  • Visual C++ How to avoid rebuilding

    Hi, I have a header file which is included by some fifty odd files..If i even make a small change as adding a comment to the header file a rebuild is taking place.. Will the pch file resolve this issue..by including that header file in stdafx.h Please help me on this.. Thanks & Regards, AFAIK if you change teh header file, it means that, there are some changes in specific definitions. Unfortunately C++ compiler is not that much smart to handle changed areas . if you change header file, and if you include it somewhere else, that file will also will be part of compilation. else your change will be void. The changes are made in the stdafx, most of the cpp file will recompiled because precompiled header are used by most of the CPP fi ...Show All

  • Smart Device Development Datatable refuses to go out of US date time format C#

    This C# does not seem to work: newTable.Locale = new CultureInfo ( "sv-SE" ); // newTable is a Datatable  It's still in US datetime format. I've tried lots of different constructs. I working in Windows CE 5.0 You can do that via P/Invoke, no C++ needed. However, you should not - it's up to user to set locale as he/she pleased, you should not mess with global settings like that. ...Show All

  • Visual Studio Express Editions ok got another question.

    i am trying to use an elseif statement but cant get the coding right. please take a look and help me if you can Public Class Form1 Private Sub ComboBox1_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged End Sub Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If ComboBox1.SelectedItem = ( "RP-1" ) Then Me .RichTextBox1.Text = ( "This is the RP-1 type keypad" ) End If If ComboBox1.SelectedItem = ( "RP-2" ) ElseIf ComboBox2.SelectedItem = ( "Arm/ Disarm" ) Then Me .RichTextBox1.Text = ( "This ...Show All

  • Visual Studio 2008 (Pre-release) NullReferenceException in System.Messaging.MessageQueue+MQCacheableInfo

    Hi all, I was asked to post this in the WCF forum, so here you are. I have an application that was build for .NET1.1, which uses MessageQueues. Since upgrading to .NET 2.0, I get a NullReferenceException from System.Messaging: at System.Messaging.MessageQueue.MQCacheableInfo.Dispose(Boolean disposing) at System.Messaging.MessageQueue.MQCacheableInfo.Finalize() I already posted this at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=748806&SiteID=1 and some time ago at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=369114&SiteID=1 I can't find a solution to get rid of this exception and I can't catch it :-( Any help appreciated! Best Regards Bernd Ritter ...Show All

  • Smart Device Development pda and datagrid

    Developing a simple pda app using a datagrid(MsFlexGrid would have been better but not supported by vb 2005 correct ). I need to populate the grid with a simple table the user selects a number from. 1. it appears i need to create a database to do that correct 2 will Excel work for the data base if so how please and what format do i save it in 3. how do i import it 4. how do i get the numnber the user double clicked on Thanks Mitch Create your custom record classes and initialize fields with '=' statement. Example: Custome c = new Customer(); c.FirstName = "John"; c.LastName = "Doe"; arrayList.Add(c); // repeat as needed. You can also add ...Show All

  • Internet Explorer Development favicon

    I have created an icon file 16 by 16 and uploaded it to the top directory. I have also added the link tag. <link rel="shortcut icon" href="favicon.ico" /> The icon does not load if I use www infront of the domain name. If the www is miss off the front the icon loads. Can anyone explain why, and is there a solution why this is happening, since it does not occur on other browsers. I am having the same issue and I cannto figure out why. Other webpages with the same code works ok, but on my site, it works well if I do not put the "www" in front of the domain. In Firefox, favicon works just well. Can anybody help ...Show All

  • .NET Development Encoding / Binary Files

    I am trying to read a file with the FileStream, and then convert it into text, and back into binary. The problem is, it doesn't encode/decode correctly. What encoding format should I use for files For instance, when I do this: richTextTxMessage.Text = "+o[C€‥46( § cgZ C)E" byte [] tempString = Encoding.ASCII.GetBytes( this .richTextTxMessage.Text.ToString()); MessageBox.Show(Encoding.ASCII.GetString(tempString,0,tempString.Length)); The result is: " +o[C (46( ,' cgZ6C)K" Any idea which type of encoding I should use for files I am trying to transfer files using FileStream and sockets, but when the file is transferred, the bytes are not correct. It is doing everything correctly except the encoding ...Show All

©2008 Software Development Network