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

Software Development Network >> Allah Is Here's Q&A profile

Allah Is Here

Member List

giggsyny
Ron L
dmatthew
Ryan F
Jamie Thomson
yanivpinhas
bhv
zybernau
pappascd
John Portnov
Seetaram
NLC4241
Pablo Jord
KatyG
noodlenozzle
Dietz
BrianEY
reb1577
nileshdr1
mangomarey
Only Title

Allah Is Here's Q&A profile

  • .NET Development Connection object in a multithreading context

    Hi! Do i need a unic connection per thread or can i use a global connection for al DataAdapters That's, i have a multithreading app, each thread connect to the BD and get some rows and i don't know if i must create a new connection per thread or not. Regards. Thread Safety Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe. Open/Close and most other things you'll want to use aren't static so right off the bat you know you're going to have some synchronization issues. there is MARS which allows multiple commands to fire on one connection but that's a different matter. Take Paul's advice on this one and opt for pooling - it works ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problems with: Detecting if a user clicked on a 3D object

    I'm rather new at working in 3d at this level but not exactly new to C# and definitely not new to 3D models... but I usually work with a tool such as Blender, 3DS or Maya. I have my simple mesh object and it displays just fine. When I use the sample code as a guide, I find that I need to make my own Bounding Box... and I understand the process in theory but applying it to the code is giving me fits. **************** Issue1: Using a Bounding Box with the dimentions of triangleBB in the sample causes this: Nullable < float > result = pickRay . Intersects(triangleBB); // Returns NaN regardless of where clicked. That's my shorthand... pasted code with what it results in after the comment.... Question... so why ...Show All

  • Visual Studio Express Editions To stop a Panel from Moving?

    I am programming a game where you control a "man" through a series of levels. The only problem is if you press the "Up" key while he is moving up, he will go off the screen. The man is as panel by the way. I fixed my code so that the "man" wouldn't move off the left of right side of the screen. However, when I use the following code, The man will still move off the top of the screen. How should I fix this I would appreciate the help. Dim up As Boolean = True If e.KeyCode = Keys.Up And up = True Then Man.Top = Man.Top - 7 If Man.Top <= 0 Then up = False Else : up = True 'This code is not all in the same place in my project. Wayne. I have the same problem o ...Show All

  • SQL Server Installing sql express on a sql standard server installed machine

    Hi, i have sql server 2005 standard installed on my machine. I want to work on express edition and learn about it but on the installation its gets stuck because a higher version is installed. If the express version is free why cant have both versions installed on my machine. Thank you. I tried to create a new instance but didnt let me even there was a new instance. The idea of trying to install express is its free. I am writting a windows form vb.net program which uses sql express because its free. I can use access files but if im right i heard that express is trying to be the new access. And i want to learn the differences for these systems. Any input . ...Show All

  • Visual Studio Express Editions User Control does not respond to code in main form.

    Using VB 2005 Express. I found a project that plots a graph in a user control. The user control has a picture box and a label. The code for this project shows the code that goes in the user control. I set up a user control in a new project and added the code. After some tweaking I got it to compile. I then went to form1, dropped the control in from the toolbox, and tried to setup some code to use the user control. Code looks like this: ------------------------------------------------------------------------------ Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim gs As New UserControl1 gs.Xscale_Max = 15 gs.Yscale_Max = 15 gs.Xscale_units = 1 g ...Show All

  • Windows Forms Datagridview + tabcontrol designer issue.orr

    Well I posted this in the databinding section and heard nothing but the whistling of the wind and the tumbleweed bouncing across the ground. I think I have a problem with the datagridview (or perhaps the tab control ) and sourcesafe. Steps to Reproduce: Create a test windows project and put it in source safe. Create a data set and link to a SQL database (northwind for example) Add a table Save the dataset Open form1 in design mode add a tab control Add a datagridview to the second page bind it (using the designer) to one of the tables in your database. save check in close the designer open form1 in the designer. This is where we hit our problem, it prompts for checkout everytime, if you say ...Show All

  • SQL Server Barcode font "shrinks" during PDF export

    Hi all, I'm using a free barcode font so i can create scannable tickets via reporting services 2k5. When I print the tickets, everything seems fine. But when i export to PDF though, it looks like the barcode font shrunk. All the lines are pulled together, making scanning impossible. Is there a certain setting or so that i can use to ensure the font's width  -Update- The weird thing is: when i export it inside visual studio, the barcode is shown as it is supposed to in the pdf ! Thanks in advance! Hi, I hate to say this, but we really did nothing to resolve the issue. Nor did I get any replies for this issue. We just restarted the SSRS server for some reason and after that we found ...Show All

  • Visual C# Avery word template mailing labels...

    Hello. I need to create a mailing list for printing mailing labels to a word document using some given avery word template... The names and addresses are stored in my database, I need to fetch them and somehow produce a word doc using an avery template. 1) Getting the data from the database, no problem. 2) Getting the data into the Avery word template, problem! Any help is much appreciated! Thank you. Thank you! This was helpful because it led me to an article which I could not seem to turn up in my previous searching: http://support.microsoft.com/kb/301659/en-us Thanks again. Much appreciated! ...Show All

  • .NET Development Caught between a lock...and a hard place.

    Greetings .Net Gurus! I am writing a Windows service in C#. This service performs several related tasks. I have broken up the tasks into 2 different classes that I want to run in thier own threads. This is all fairly straightforward. The question I have revolves around how I update the text file that is logging various information for the service. I did a little research, and what I have come up with uses the Lock statement around the code that updates the text file. The object that I am using in the lock statement is declared as a public static object in a third class that is accessable by both the worker classes. If I have understood what I have read correctly using the object from the 3rd class will keep me from having any content ...Show All

  • SQL Server Help me Deploying rdl Report

    Hi I am new to SQL Reporting Services. I have developed an rdl report in SQL Server Reporting Serices 2005. It works very fine in development environment. But now i want to include this report in an exisitng project running at our client in some remote location. This report 'll be accessed by several clients from different offices. To view reports locally I have added myself as an administrator on the local Report Server. But how would i authecticate specific users that i want to grant access to the report. I have a database table that stores users that have access to that report. Also how do I upload these reports with all these users settings on the client's Report Server. Looking forward for ur good response. Regards ...Show All

  • .NET Development how to set page in its initial form after save button

    Dear All, i am bit new to the dotnet world. i am making web application using asp.net ,C# (Visual studio 2005). i want to how can i make page to reappear as page was loaded very first time after saving all the record(controls content) on save button. i have page with seven controls (some of them autopostback). and there is save button. so i basically trying for as soon as save button complete its command, i clear all controls values. so as page reappear in its initial stag. HOw can i do it . please help me thanks You can redirect the user back to the same form...Response.Redirect(). This would be like a first request to the page.. or try Page.ViewState.Clear() ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. VideoSettings/Threading questions with XNA...

    Scratching my head over this one. Want to set some device/presentation parameters before adding .graphics to the GameComponents, in this case through a form. public Game1() { //create settings form Form f = new frm_DisplaySettings(); //wait for "Start" button clicked on f //pass settings on to Designer to Initialize InitializeComponent(mySettings[]); } //wait for "Start" button clicked on f// is where I am stuck. I've tried spawning threads but not sure how the Game class handles this and not sure how to implement cross-class ManualResetEvents. TIA, lushdog You need to show the form Form f = new frm_DisplaySettings(); f.S ...Show All

  • Internet Explorer Development IE7 shows URL in title bar

    Hi, We have classic ASP application. For some windows user the webpage shows URL in title bar and for some user it does not show the URL. I do not want to show URL in title bar, but could not find what IE7 setting to use. Thanks. It happens when site is in trusted zone. If you ask your customers to change the site zone to local internet then the URL is removed from title. ...Show All

  • Gadgets Reading binary files

    Hello, I need to read out a binary file in my Gadget. In this forum, I asked before, how I can read out files in general. Now I've got the next problem The whole code for reading the file looks like this: var oFSO = new ActiveXObject('Scripting.FileSystemObject'); var fTmp = oFSO.OpenTextFile(filename, 1, false, 0); var content = fTmp.ReadAll(); fTmp.Close(); var byteString = ""; for(i = 0; i < content.length; i++) { byteString = byteString + hex(content.charCodeAt(i)); } ..................... function hex(a) { return Number(a).toString(16); } I need a String that contains the file in this form: "AABBCC66339953AB..." I need it for sending it to a XML RPC. But I'm not able to figure it out. It works in general. B ...Show All

  • Windows Forms Tool Tip Disappearing

    I have a button for which I set a tooltip using the ToolTip class after finding out that there isn't a ToolTip property for button controls. Here is my code: ToolTip procDescriptor = new ToolTip (); procDescriptor.SetToolTip(newProcessButton, "text" ); procDescriptor.ToolTipTitle = processName; procDescriptor.Active = true ; procDescriptor.ShowAlways = true ; The tool tip works fine until the button is clicked or hovered over for more than 5 seconds. After either of those things, the tooltip never reappears. What's the deal -allen It's in my form class...but actually, I remedied the problem with a custom class that extends the ToolTip class in .net 2.0. It allows tool tips to reshow after " ...Show All

©2008 Software Development Network